Several changes to adapt Rails 8

This commit is contained in:
Christoph Haas 2025-04-04 00:58:27 +02:00
parent 7cb02d8a7d
commit 52777edb65
11 changed files with 112 additions and 83 deletions

6
db/schema.rb generated
View file

@ -10,9 +10,9 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2023_11_26_173151) do
ActiveRecord::Schema[8.0].define(version: 2023_11_26_173151) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
enable_extension "pg_catalog.plpgsql"
create_table "action_mailbox_inbound_emails", force: :cascade do |t|
t.integer "status", default: 0, null: false
@ -87,7 +87,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_11_26_173151) do
t.datetime "updated_at", precision: nil
t.integer "visits", default: 0
t.index "(((setweight(to_tsvector('english'::regconfig, COALESCE((name)::text, ''::text)), 'A'::\"char\") || setweight(to_tsvector('english'::regconfig, COALESCE((description)::text, ''::text)), 'B'::\"char\")) || setweight(to_tsvector('english'::regconfig, COALESCE(long_description, ''::text)), 'C'::\"char\")))", name: "packages_fts", using: :gin
t.index ["name"], name: "packages_name_key", unique: true
t.unique_constraint ["name"], name: "packages_name_key"
end
create_table "screenshots", id: :serial, force: :cascade do |t|