Jack S
2 years ago
3 changed files with 44 additions and 0 deletions
@ -0,0 +1,15 @@
|
||||
class AddUprnToLogs < ActiveRecord::Migration[7.0] |
||||
def change |
||||
change_table :sales_logs, bulk: true do |t| |
||||
t.column :uprn, :string |
||||
t.column :uprn_known, :integer |
||||
t.column :uprn_confirmed, :integer |
||||
end |
||||
|
||||
change_table :lettings_logs, bulk: true do |t| |
||||
t.column :uprn, :string |
||||
t.column :uprn_known, :integer |
||||
t.column :uprn_confirmed, :integer |
||||
end |
||||
end |
||||
end |
@ -0,0 +1,15 @@
|
||||
class AddAddressToLogs < ActiveRecord::Migration[7.0] |
||||
change_table :sales_logs, bulk: true do |t| |
||||
t.column :address_line1, :string |
||||
t.column :address_line2, :string |
||||
t.column :town_or_city, :string |
||||
t.column :county, :string |
||||
end |
||||
|
||||
change_table :lettings_logs, bulk: true do |t| |
||||
t.column :address_line1, :string |
||||
t.column :address_line2, :string |
||||
t.column :town_or_city, :string |
||||
t.column :county, :string |
||||
end |
||||
end |
Loading…
Reference in new issue