You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
267 B
12 lines
267 B
8 months ago
|
class AddCreatedBy < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
change_table :sales_logs do |t|
|
||
|
t.references :created_by, class_name: "User"
|
||
|
end
|
||
|
|
||
|
change_table :lettings_logs do |t|
|
||
|
t.references :created_by, class_name: "User"
|
||
|
end
|
||
|
end
|
||
|
end
|