Remove closure reasons

This commit is contained in:
Jason Zimdars
2025-10-15 16:15:56 -05:00
parent c1bcab96f0
commit da413e7540
19 changed files with 112 additions and 86 deletions
Generated
+12 -8
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.1].define(version: 2025_10_15_123003) do
ActiveRecord::Schema[8.1].define(version: 2025_10_15_205212) do
create_table "accesses", force: :cascade do |t|
t.datetime "accessed_at"
t.integer "collection_id", null: false
@@ -29,6 +29,7 @@ ActiveRecord::Schema[8.1].define(version: 2025_10_15_123003) do
t.integer "external_account_id"
t.string "join_code"
t.string "name", null: false
t.string "setup_status"
t.datetime "updated_at", null: false
t.index ["external_account_id"], name: "index_accounts_on_external_account_id", unique: true
end
@@ -162,16 +163,9 @@ ActiveRecord::Schema[8.1].define(version: 2025_10_15_123003) do
t.index ["filter_id"], name: "index_closers_filters_on_filter_id"
end
create_table "closure_reasons", force: :cascade do |t|
t.datetime "created_at", null: false
t.string "label"
t.datetime "updated_at", null: false
end
create_table "closures", force: :cascade do |t|
t.integer "card_id", null: false
t.datetime "created_at", null: false
t.string "reason", null: false
t.datetime "updated_at", null: false
t.integer "user_id"
t.index ["card_id", "created_at"], name: "index_closures_on_card_id_and_created_at"
@@ -293,6 +287,15 @@ ActiveRecord::Schema[8.1].define(version: 2025_10_15_123003) do
t.index ["tag_id"], name: "index_filters_tags_on_tag_id"
end
create_table "integrations", force: :cascade do |t|
t.datetime "created_at", null: false
t.text "data"
t.integer "owner_id", null: false
t.string "type"
t.datetime "updated_at", null: false
t.index ["owner_id"], name: "index_integrations_on_owner_id"
end
create_table "mentions", force: :cascade do |t|
t.datetime "created_at", null: false
t.integer "mentionee_id", null: false
@@ -522,6 +525,7 @@ ActiveRecord::Schema[8.1].define(version: 2025_10_15_123003) do
add_foreign_key "conversation_messages", "conversations"
add_foreign_key "conversations", "users"
add_foreign_key "events", "collections"
add_foreign_key "integrations", "users", column: "owner_id"
add_foreign_key "mentions", "users", column: "mentionee_id"
add_foreign_key "mentions", "users", column: "mentioner_id"
add_foreign_key "notification_bundles", "users"