From a5d986779a63be6a87aacabecafa2d03fbff5228 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Mon, 18 Sep 2017 17:27:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=89=E6=8B=A9=E9=A2=98?= =?UTF-8?q?=E9=A2=98=E5=B9=B2=E7=B1=BB=E5=9E=8B=EF=BC=88=E4=BB=8Estring?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=EF=BC=8C=E4=BF=AE=E6=94=B9=E4=B8=BAtext?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gemfile | 2 +- ...092326_modify_type_of_subject_for_challenge_chooses.rb | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 db/migrate/20170918092326_modify_type_of_subject_for_challenge_chooses.rb diff --git a/Gemfile b/Gemfile index d29d5c856..2a11f7477 100644 --- a/Gemfile +++ b/Gemfile @@ -15,7 +15,7 @@ unless RUBY_PLATFORM =~ /w32/ gem 'nokogiri' end -gem 'simple_xlsx_reader' +#gem 'simple_xlsx_reader' gem 'wechat',path: 'lib/wechat' gem 'grack', path:'lib/grack' gem 'gitlab', path: 'lib/gitlab-cli' diff --git a/db/migrate/20170918092326_modify_type_of_subject_for_challenge_chooses.rb b/db/migrate/20170918092326_modify_type_of_subject_for_challenge_chooses.rb new file mode 100644 index 000000000..6294f3a48 --- /dev/null +++ b/db/migrate/20170918092326_modify_type_of_subject_for_challenge_chooses.rb @@ -0,0 +1,8 @@ +class ModifyTypeOfSubjectForChallengeChooses < ActiveRecord::Migration + def up + change_column :challenge_chooses, :subject, :text + end + + def down + end +end