Drop event summaries too
We'll regenerate with a script
This commit is contained in:
@@ -15,5 +15,6 @@ class FlattenMessagesAndComments < ActiveRecord::Migration[8.1]
|
||||
|
||||
change_column_null :comments, :card_id, false
|
||||
drop_table :messages
|
||||
drop_table :event_summaries
|
||||
end
|
||||
end
|
||||
|
||||
Generated
-6
@@ -174,11 +174,6 @@ ActiveRecord::Schema[8.1].define(version: 2025_04_29_162506) do
|
||||
t.index ["filter_id"], name: "index_creators_filters_on_filter_id"
|
||||
end
|
||||
|
||||
create_table "event_summaries", force: :cascade do |t|
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
create_table "events", force: :cascade do |t|
|
||||
t.string "action", null: false
|
||||
t.integer "collection_id", null: false
|
||||
@@ -286,7 +281,6 @@ ActiveRecord::Schema[8.1].define(version: 2025_04_29_162506) do
|
||||
t.datetime "created_at", null: false
|
||||
t.string "title"
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["title"], name: "index_tags_on_account_id_and_title", unique: true
|
||||
end
|
||||
|
||||
create_table "users", force: :cascade do |t|
|
||||
|
||||
+1
-24
@@ -541,10 +541,6 @@ columns:
|
||||
creators_filters:
|
||||
- *23
|
||||
- *18
|
||||
event_summaries:
|
||||
- *5
|
||||
- *6
|
||||
- *9
|
||||
events:
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
|
||||
auto_increment:
|
||||
@@ -937,7 +933,6 @@ primary_keys:
|
||||
collections_filters:
|
||||
comments: id
|
||||
creators_filters:
|
||||
event_summaries: id
|
||||
events: id
|
||||
filters: id
|
||||
filters_stages:
|
||||
@@ -974,7 +969,6 @@ data_sources:
|
||||
collections_filters: true
|
||||
comments: true
|
||||
creators_filters: true
|
||||
event_summaries: true
|
||||
events: true
|
||||
filters: true
|
||||
filters_stages: true
|
||||
@@ -1516,7 +1510,6 @@ indexes:
|
||||
nulls_not_distinct:
|
||||
comment:
|
||||
valid: true
|
||||
event_summaries: []
|
||||
events:
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
|
||||
table: events
|
||||
@@ -1923,23 +1916,7 @@ indexes:
|
||||
nulls_not_distinct:
|
||||
comment:
|
||||
valid: true
|
||||
tags:
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
|
||||
table: tags
|
||||
name: index_tags_on_account_id_and_title
|
||||
unique: true
|
||||
columns:
|
||||
- title
|
||||
lengths: {}
|
||||
orders: {}
|
||||
opclasses: {}
|
||||
where:
|
||||
type:
|
||||
using:
|
||||
include:
|
||||
nulls_not_distinct:
|
||||
comment:
|
||||
valid: true
|
||||
tags: []
|
||||
users:
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
|
||||
table: users
|
||||
|
||||
Reference in New Issue
Block a user