Browse Source

create migrations to add creation method fields to both log types

pull/1738/head
Arthur Campbell 3 years ago
parent
commit
8dc4a829a8
  1. 5
      db/migrate/20230629124739_add_creation_method_to_lettings_logs.rb
  2. 5
      db/migrate/20230629125541_add_creation_method_to_sales_logs.rb

5
db/migrate/20230629124739_add_creation_method_to_lettings_logs.rb

@ -0,0 +1,5 @@
class AddCreationMethodToLettingsLogs < ActiveRecord::Migration[7.0]
def change
add_column :lettings_logs, :creation_method, :integer, default: 1
end
end

5
db/migrate/20230629125541_add_creation_method_to_sales_logs.rb

@ -0,0 +1,5 @@
class AddCreationMethodToSalesLogs < ActiveRecord::Migration[7.0]
def change
add_column :sales_logs, :creation_method, :integer, default: 1
end
end
Loading…
Cancel
Save