From 9451f9abc207273923ca0e94e77201e18559305e Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Mon, 2 Sep 2019 16:49:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=81=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20190828011222_add_update_user_id_to_student_works.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20190828011222_add_update_user_id_to_student_works.rb b/db/migrate/20190828011222_add_update_user_id_to_student_works.rb index c8e007998..3e94b2460 100644 --- a/db/migrate/20190828011222_add_update_user_id_to_student_works.rb +++ b/db/migrate/20190828011222_add_update_user_id_to_student_works.rb @@ -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