From 8d167a3d7d132ef3d0af7d6f515f754ccddab951 Mon Sep 17 00:00:00 2001 From: omochiumaiumai Date: Mon, 20 Nov 2023 19:19:30 +0900 Subject: [PATCH 1/2] =?UTF-8?q?migration=E3=83=95=E3=82=A1=E3=82=A4?= =?UTF-8?q?=E3=83=AB=E3=82=92=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/20231120101451_remove_unreplied_from_talks.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20231120101451_remove_unreplied_from_talks.rb diff --git a/db/migrate/20231120101451_remove_unreplied_from_talks.rb b/db/migrate/20231120101451_remove_unreplied_from_talks.rb new file mode 100644 index 00000000000..8532459ef6d --- /dev/null +++ b/db/migrate/20231120101451_remove_unreplied_from_talks.rb @@ -0,0 +1,5 @@ +class RemoveUnrepliedFromTalks < ActiveRecord::Migration[6.1] + def change + remove_column :talks, :unreplied, :boolean + end +end From 6835aff275fbbdaf09a6c4fbbafdfd22667ef5c7 Mon Sep 17 00:00:00 2001 From: omochiumaiumai Date: Mon, 20 Nov 2023 19:32:06 +0900 Subject: [PATCH 2/2] =?UTF-8?q?schema=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/schema.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/db/schema.rb b/db/schema.rb index abde98c3b4d..10ecb4215a2 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2023_10_01_031818) do +ActiveRecord::Schema.define(version: 2023_11_20_101451) do # These are extensions that must be enabled in order to support this database enable_extension "pgcrypto" @@ -667,7 +667,6 @@ t.bigint "user_id", null: false t.datetime "created_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false - t.boolean "unreplied", default: false, null: false t.boolean "action_completed", default: true, null: false t.index ["user_id"], name: "index_talks_on_user_id" end