Merge commit '3a8370e1f4' into kb_migration

This commit is contained in:
KMY 2023-08-15 17:58:03 +09:00
commit 61e4be24e1
44 changed files with 503 additions and 278 deletions

View file

@ -0,0 +1,9 @@
# frozen_string_literal: true
class RemoveIndexPreviewCardsStatusesOnStatusIdAndPreviewCardId < ActiveRecord::Migration[7.0]
disable_ddl_transaction!
def change
remove_index :preview_cards_statuses, column: [:status_id, :preview_card_id], name: :index_preview_cards_statuses_on_status_id_and_preview_card_id
end
end

View file

@ -924,7 +924,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_08_12_130612) do
create_table "preview_cards_statuses", primary_key: ["status_id", "preview_card_id"], force: :cascade do |t|
t.bigint "preview_card_id", null: false
t.bigint "status_id", null: false
t.index ["status_id", "preview_card_id"], name: "index_preview_cards_statuses_on_status_id_and_preview_card_id"
end
create_table "relays", force: :cascade do |t|