From d984ac78d24f852c3336e247cf6fe117508de1a7 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Mon, 20 Oct 2025 17:48:24 -0700 Subject: [PATCH] Remove schema changes introduced in da413e75 which I think was accidental --- db/schema.rb | 11 -------- db/schema_cache.yml | 63 --------------------------------------------- 2 files changed, 74 deletions(-) diff --git a/db/schema.rb b/db/schema.rb index 65e226b49..ecb2277ca 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -29,7 +29,6 @@ ActiveRecord::Schema[8.2].define(version: 2025_10_16_153034) 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 @@ -288,15 +287,6 @@ ActiveRecord::Schema[8.2].define(version: 2025_10_16_153034) 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 @@ -526,7 +516,6 @@ ActiveRecord::Schema[8.2].define(version: 2025_10_16_153034) 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" diff --git a/db/schema_cache.yml b/db/schema_cache.yml index 513cd51f3..bdb69f901 100644 --- a/db/schema_cache.yml +++ b/db/schema_cache.yml @@ -133,16 +133,6 @@ columns: default_function: collation: comment: - - !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column - auto_increment: - name: setup_status - cast_type: *7 - sql_type_metadata: *8 - 'null': true - default: - default_function: - collation: - comment: - *9 action_text_rich_texts: - !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column @@ -861,40 +851,6 @@ columns: default_function: collation: comment: - integrations: - - *5 - - !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column - auto_increment: - name: data - cast_type: *15 - sql_type_metadata: *16 - 'null': true - default: - default_function: - collation: - comment: - - *6 - - !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column - auto_increment: - name: owner_id - cast_type: *3 - sql_type_metadata: *4 - 'null': false - default: - default_function: - collation: - comment: - - !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column - auto_increment: - name: type - cast_type: *7 - sql_type_metadata: *8 - 'null': true - default: - default_function: - collation: - comment: - - *9 mentions: - *5 - *6 @@ -1499,7 +1455,6 @@ primary_keys: events: id filters: id filters_tags: - integrations: id mentions: id notification_bundles: id notifications: id @@ -1553,7 +1508,6 @@ data_sources: events: true filters: true filters_tags: true - integrations: true mentions: true notification_bundles: true notifications: true @@ -2488,23 +2442,6 @@ indexes: nulls_not_distinct: comment: valid: true - integrations: - - !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition - table: integrations - name: index_integrations_on_owner_id - unique: false - columns: - - owner_id - lengths: {} - orders: {} - opclasses: {} - where: - type: - using: - include: - nulls_not_distinct: - comment: - valid: true mentions: - !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition table: mentions