Browse Source
* remove invalid option causing errors * specify default precision --------- Co-authored-by: Carolyn <carolyn.barker@softwire.com>pull/2949/head
9 changed files with 18 additions and 18 deletions
@ -1,7 +1,7 @@
|
||||
class AddCreatedByToCaseLogs < ActiveRecord::Migration[7.0] |
||||
def change |
||||
change_table :case_logs, bulk: true do |t| |
||||
t.belongs_to :created_by, class_name: "User" |
||||
t.belongs_to :created_by |
||||
end |
||||
end |
||||
end |
||||
|
@ -1,10 +1,10 @@
|
||||
class AddUpdatedByToLogs < ActiveRecord::Migration[7.0] |
||||
def change |
||||
change_table :lettings_logs, bulk: true do |t| |
||||
t.belongs_to :updated_by, class_name: "User" |
||||
t.belongs_to :updated_by |
||||
end |
||||
change_table :sales_logs, bulk: true do |t| |
||||
t.belongs_to :updated_by, class_name: "User" |
||||
t.belongs_to :updated_by |
||||
end |
||||
end |
||||
end |
||||
|
@ -1,7 +1,7 @@
|
||||
class AddSalesManagingOrganisation < ActiveRecord::Migration[7.0] |
||||
def change |
||||
change_table :sales_logs, bulk: true do |t| |
||||
t.references :managing_organisation, class_name: "Organisation" |
||||
t.references :managing_organisation |
||||
end |
||||
end |
||||
end |
||||
|
@ -1,11 +1,11 @@
|
||||
class AddCreatedBy < ActiveRecord::Migration[7.0] |
||||
def change |
||||
change_table :sales_logs do |t| |
||||
t.references :created_by, class_name: "User" |
||||
t.references :created_by |
||||
end |
||||
|
||||
change_table :lettings_logs do |t| |
||||
t.references :created_by, class_name: "User" |
||||
t.references :created_by |
||||
end |
||||
end |
||||
end |
||||
|
Loading…
Reference in new issue