From bc74d152a5196bfce86cf002214cd68d8ad74338 Mon Sep 17 00:00:00 2001 From: cxt Date: Thu, 21 Mar 2019 14:44:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E5=8D=B7bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/20190321064051_migrate_poll_question_type.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20190321064051_migrate_poll_question_type.rb diff --git a/db/migrate/20190321064051_migrate_poll_question_type.rb b/db/migrate/20190321064051_migrate_poll_question_type.rb new file mode 100644 index 00000000..79125894 --- /dev/null +++ b/db/migrate/20190321064051_migrate_poll_question_type.rb @@ -0,0 +1,8 @@ +class MigratePollQuestionType < ActiveRecord::Migration + def up + change_column :poll_questions, :question_title, :text + end + + def down + end +end