Merge remote-tracking branch 'origin/main' into feature/281

このコミットが含まれているのは:
2026-03-11 23:20:14 +09:00
コミット 3665cd8948
4個のファイルの変更70行の追加31行の削除
+6
ファイルの表示
@@ -0,0 +1,6 @@
class AddDiscardedAtToTags < ActiveRecord::Migration[8.0]
def change
add_column :tags, :discarded_at, :datetime
add_index :tags, :discarded_at
end
end
生成ファイル
+3 -1
ファイルの表示
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2026_03_09_123200) do
ActiveRecord::Schema[8.0].define(version: 2026_03_11_123100) do
create_table "active_storage_attachments", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "name", null: false
t.string "record_type", null: false
@@ -160,6 +160,8 @@ ActiveRecord::Schema[8.0].define(version: 2026_03_09_123200) do
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "post_count", default: 0, null: false
t.datetime "discarded_at"
t.index ["discarded_at"], name: "index_tags_on_discarded_at"
t.index ["tag_name_id"], name: "index_tags_on_tag_name_id", unique: true
end