12 lines
319 B
12 lines
319 B
2 years ago
|
class AddPostcodeFieldsToSales < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
change_table :sales_logs, bulk: true do |t|
|
||
|
t.column :pcode1, :string
|
||
|
t.column :pcode2, :string
|
||
|
t.column :pcodenk, :integer
|
||
|
t.column :postcode_full, :string
|
||
|
t.column :is_la_inferred, :boolean
|
||
|
end
|
||
|
end
|
||
|
end
|