From 5b1abe2d64793ebde16f19cf6aed4f99da919127 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Sat, 29 Jun 2019 14:09:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E5=85=B3=E5=8D=A1=E7=9A=84?= =?UTF-8?q?=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4=E9=BB=98=E8=AE=A4=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=88=9020?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...90629060410_change_exec_time_default_for_challenges.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20190629060410_change_exec_time_default_for_challenges.rb diff --git a/db/migrate/20190629060410_change_exec_time_default_for_challenges.rb b/db/migrate/20190629060410_change_exec_time_default_for_challenges.rb new file mode 100644 index 00000000..43464dc0 --- /dev/null +++ b/db/migrate/20190629060410_change_exec_time_default_for_challenges.rb @@ -0,0 +1,8 @@ +class ChangeExecTimeDefaultForChallenges < ActiveRecord::Migration + def up + change_column :challenges, :exec_time, :integer, :default => 20 + end + + def down + end +end