Remove AI summaries and semantic searches
We were not using either. We can restore if we revisit.
This commit is contained in:
Generated
+1
-28
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.2].define(version: 2025_10_27_113216) do
|
||||
ActiveRecord::Schema[8.2].define(version: 2025_10_29_104115) do
|
||||
create_table "accesses", force: :cascade do |t|
|
||||
t.datetime "accessed_at"
|
||||
t.integer "collection_id", null: false
|
||||
@@ -290,15 +290,6 @@ ActiveRecord::Schema[8.2].define(version: 2025_10_27_113216) do
|
||||
t.index ["user_id"], name: "index_notifications_on_user_id"
|
||||
end
|
||||
|
||||
create_table "period_summaries", force: :cascade do |t|
|
||||
t.text "content", null: false
|
||||
t.bigint "cost_in_microcents"
|
||||
t.datetime "created_at", null: false
|
||||
t.string "key", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["key"], name: "index_period_highlights_on_key_and_starts_at_and_duration", unique: true
|
||||
end
|
||||
|
||||
create_table "pins", force: :cascade do |t|
|
||||
t.integer "card_id", null: false
|
||||
t.datetime "created_at", null: false
|
||||
@@ -334,10 +325,6 @@ ActiveRecord::Schema[8.2].define(version: 2025_10_27_113216) do
|
||||
t.index ["reacter_id"], name: "index_reactions_on_reacter_id"
|
||||
end
|
||||
|
||||
# Could not dump table "search_embeddings_vector_chunks00" because of following StandardError
|
||||
# Unknown type '' for column 'rowid'
|
||||
|
||||
|
||||
create_table "search_queries", force: :cascade do |t|
|
||||
t.datetime "created_at", null: false
|
||||
t.string "terms", limit: 2000, null: false
|
||||
@@ -398,17 +385,6 @@ ActiveRecord::Schema[8.2].define(version: 2025_10_27_113216) do
|
||||
t.index ["user_id"], name: "index_user_settings_on_user_id"
|
||||
end
|
||||
|
||||
create_table "user_weekly_summaries", force: :cascade do |t|
|
||||
t.datetime "created_at", null: false
|
||||
t.integer "period_summary_id", null: false
|
||||
t.date "starts_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "user_id", null: false
|
||||
t.index ["period_summary_id"], name: "index_user_weekly_summaries_on_period_summary_id"
|
||||
t.index ["user_id", "starts_at"], name: "index_user_weekly_summaries_on_user_id_and_starts_at", unique: true
|
||||
t.index ["user_id"], name: "index_user_weekly_summaries_on_user_id"
|
||||
end
|
||||
|
||||
create_table "users", force: :cascade do |t|
|
||||
t.boolean "active", default: true, null: false
|
||||
t.datetime "created_at", null: false
|
||||
@@ -492,8 +468,6 @@ ActiveRecord::Schema[8.2].define(version: 2025_10_27_113216) do
|
||||
add_foreign_key "taggings", "cards"
|
||||
add_foreign_key "taggings", "tags"
|
||||
add_foreign_key "user_settings", "users"
|
||||
add_foreign_key "user_weekly_summaries", "period_summaries"
|
||||
add_foreign_key "user_weekly_summaries", "users"
|
||||
add_foreign_key "watches", "cards"
|
||||
add_foreign_key "watches", "users"
|
||||
add_foreign_key "webhook_delinquency_trackers", "webhooks"
|
||||
@@ -505,5 +479,4 @@ ActiveRecord::Schema[8.2].define(version: 2025_10_27_113216) do
|
||||
# Note that virtual tables may not work with other database engines. Be careful if changing database.
|
||||
create_virtual_table "cards_search_index", "fts5", ["title", "description", "tokenize='porter'"]
|
||||
create_virtual_table "comments_search_index", "fts5", ["body", "tokenize='porter'"]
|
||||
create_virtual_table "search_embeddings", "vec0", ["id INTEGER PRIMARY KEY", "record_type TEXT NOT NULL", "record_id INTEGER NOT NULL", "embedding FLOAT[1536] distance_metric=cosine"]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user