2 changed files with 14 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||||
|
class AddDerivedHouseholdFields < ActiveRecord::Migration[7.0] |
||||||
|
def change |
||||||
|
change_table :sales_logs, bulk: true do |t| |
||||||
|
t.column :hhmemb, :integer |
||||||
|
t.column :totadult, :integer |
||||||
|
t.column :totchild, :integer |
||||||
|
t.column :hhtype, :integer |
||||||
|
end |
||||||
|
end |
||||||
|
end |
||||||
Loading…
Reference in new issue