Merge commit '85fdbd0ad5' into upstream-20240425

This commit is contained in:
KMY 2024-04-25 18:28:31 +09:00
commit 661e329974
61 changed files with 392 additions and 212 deletions

View file

@ -0,0 +1,8 @@
# frozen_string_literal: true
class RemoveDefaultsForStatusPinsTimestamps < ActiveRecord::Migration[7.1]
def change
change_column_default :status_pins, :created_at, from: -> { 'CURRENT_TIMESTAMP' }, to: nil
change_column_default :status_pins, :updated_at, from: -> { 'CURRENT_TIMESTAMP' }, to: nil
end
end

View file

@ -1367,8 +1367,8 @@ ActiveRecord::Schema[7.1].define(version: 2024_04_01_222541) do
create_table "status_pins", force: :cascade do |t|
t.bigint "account_id", null: false
t.bigint "status_id", null: false
t.datetime "created_at", precision: nil, default: -> { "now()" }, null: false
t.datetime "updated_at", precision: nil, default: -> { "now()" }, null: false
t.datetime "created_at", precision: nil, null: false
t.datetime "updated_at", precision: nil, null: false
t.index ["account_id", "status_id"], name: "index_status_pins_on_account_id_and_status_id", unique: true
t.index ["status_id"], name: "index_status_pins_on_status_id"
end