Initial commit - Fase 1: Setup Rails + Docker

This commit is contained in:
2026-06-10 17:40:07 -03:00
commit eb812868e5
30 changed files with 1390 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
class CreateHistoricoEstimados < ActiveRecord::Migration[7.1]
def change
create_table :historico_estimados do |t|
t.datetime :data_hora, null: false
t.decimal :valor_total_estimado, precision: 10, scale: 2, null: false
t.integer :entregas_contadas, null: false, default: 0
t.timestamps
end
add_index :historico_estimados, :data_hora
end
end