dev_local_2
parent
42c37d4c63
commit
9451f9abc2
@ -1,6 +1,6 @@
|
|||||||
class AddUpdateUserIdToStudentWorks < ActiveRecord::Migration[5.2]
|
class AddUpdateUserIdToStudentWorks < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
add_column :student_works, :update_user_id, :integer
|
#add_column :student_works, :update_user_id, :integer
|
||||||
StudentWork.update_all("update_user_id = commit_user_id")
|
StudentWork.update_all("update_user_id = commit_user_id")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in new issue