From 70447eaa26de19e4002bbe2a502080a0c3cb40c3 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Sat, 20 Jul 2019 00:41:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/20190613022158_add_exec_time_to_challenge.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20190613022158_add_exec_time_to_challenge.rb b/db/migrate/20190613022158_add_exec_time_to_challenge.rb index c1743674c..8998b3d82 100644 --- a/db/migrate/20190613022158_add_exec_time_to_challenge.rb +++ b/db/migrate/20190613022158_add_exec_time_to_challenge.rb @@ -1,6 +1,6 @@ class AddExecTimeToChallenge < ActiveRecord::Migration[5.2] def change - add_column :challenges, :exec_time, :integer + # add_column :challenges, :exec_time, :integer Shixun.find_each do |shixun| shixun.challenges.update_all(exec_time: shixun.exec_time)