dev_local_2
daiao 5 years ago
parent 42c37d4c63
commit 9451f9abc2

@ -1,6 +1,6 @@
class AddUpdateUserIdToStudentWorks < ActiveRecord::Migration[5.2]
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")
end
end

Loading…
Cancel
Save