From 7fbcbfc4ae77d7ad0edd39dea7a05f3a200dfd3e Mon Sep 17 00:00:00 2001 From: Pricccvtqu4tt Date: Thu, 15 Dec 2022 18:42:52 +0800 Subject: [PATCH] =?UTF-8?q?!5=20=20=E6=B5=8F=E8=A7=88=E4=BB=A3=E7=A0=81fix?= =?UTF-8?q?(view):=20=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=97=B6=E6=89=A7=E8=A1=8C=E8=BF=81=E7=A7=BB,=20rails=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E9=97=AE=E9=A2=98=20*=20fix(view):=20=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E9=A1=B9=E7=9B=AE=E6=97=B6=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E8=BF=81=E7=A7=BB,=20rails=E7=89=88=E6=9C=AC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/20150923142819_create_tasks.rb | 2 +- db/migrate/20150923155245_create_lists.rb | 2 +- db/migrate/20150924024921_create_plans.rb | 2 +- db/migrate/20150925104424_add_color_tag_to_plan.rb | 2 +- db/migrate/20151012090323_add_plan_id_to_tasks.rb | 2 +- db/migrate/20160723072506_add_confirmable_to_devise.rb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/db/migrate/20150923142819_create_tasks.rb b/db/migrate/20150923142819_create_tasks.rb index a58f5c2..b3adc40 100644 --- a/db/migrate/20150923142819_create_tasks.rb +++ b/db/migrate/20150923142819_create_tasks.rb @@ -1,4 +1,4 @@ -class CreateTasks < ActiveRecord::Migration +class CreateTasks < ActiveRecord::Migration[5.0] def change create_table :tasks do |t| t.text :title diff --git a/db/migrate/20150923155245_create_lists.rb b/db/migrate/20150923155245_create_lists.rb index c53bb82..d042efe 100644 --- a/db/migrate/20150923155245_create_lists.rb +++ b/db/migrate/20150923155245_create_lists.rb @@ -1,4 +1,4 @@ -class CreateLists < ActiveRecord::Migration +class CreateLists < ActiveRecord::Migration[5.0] def change create_table :lists do |t| t.text :title diff --git a/db/migrate/20150924024921_create_plans.rb b/db/migrate/20150924024921_create_plans.rb index b5cbd6b..92308d3 100644 --- a/db/migrate/20150924024921_create_plans.rb +++ b/db/migrate/20150924024921_create_plans.rb @@ -1,4 +1,4 @@ -class CreatePlans < ActiveRecord::Migration +class CreatePlans < ActiveRecord::Migration[5.0] def change create_table :plans do |t| t.text :title diff --git a/db/migrate/20150925104424_add_color_tag_to_plan.rb b/db/migrate/20150925104424_add_color_tag_to_plan.rb index 4b84856..a065aa9 100644 --- a/db/migrate/20150925104424_add_color_tag_to_plan.rb +++ b/db/migrate/20150925104424_add_color_tag_to_plan.rb @@ -1,4 +1,4 @@ -class AddColorTagToPlan < ActiveRecord::Migration +class AddColorTagToPlan < ActiveRecord::Migration[5.0] def change add_column :plans, :color_tag, :integer , :default => 1 end diff --git a/db/migrate/20151012090323_add_plan_id_to_tasks.rb b/db/migrate/20151012090323_add_plan_id_to_tasks.rb index 69dee4e..eec3b79 100644 --- a/db/migrate/20151012090323_add_plan_id_to_tasks.rb +++ b/db/migrate/20151012090323_add_plan_id_to_tasks.rb @@ -1,4 +1,4 @@ -class AddPlanIdToTasks < ActiveRecord::Migration +class AddPlanIdToTasks < ActiveRecord::Migration[5.0] def change add_column :tasks, :plan_id, :integer end diff --git a/db/migrate/20160723072506_add_confirmable_to_devise.rb b/db/migrate/20160723072506_add_confirmable_to_devise.rb index 5b9fe7e..2c99ed9 100644 --- a/db/migrate/20160723072506_add_confirmable_to_devise.rb +++ b/db/migrate/20160723072506_add_confirmable_to_devise.rb @@ -1,4 +1,4 @@ -class AddConfirmableToDevise < ActiveRecord::Migration +class AddConfirmableToDevise < ActiveRecord::Migration[5.0] # Note: You can't use change, as User.update_all will fail in the down migration def up add_column :users, :confirmation_token, :string