1
0
Fork 0
forked from gitea/nas

Wip: reset db default value

This commit is contained in:
KMY 2023-04-06 13:20:14 +09:00
parent 502761c0ad
commit c358cb1f4e
4 changed files with 9 additions and 4 deletions

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2023_04_05_121625) do
ActiveRecord::Schema.define(version: 2023_04_06_041523) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -188,7 +188,7 @@ ActiveRecord::Schema.define(version: 2023_04_05_121625) do
t.datetime "reviewed_at"
t.datetime "requested_review_at"
t.boolean "group_allow_private_message"
t.integer "searchability", default: 0, null: false
t.integer "searchability", default: 2, null: false
t.index "(((setweight(to_tsvector('simple'::regconfig, (display_name)::text), 'A'::\"char\") || setweight(to_tsvector('simple'::regconfig, (username)::text), 'B'::\"char\")) || setweight(to_tsvector('simple'::regconfig, (COALESCE(domain, ''::character varying))::text), 'C'::\"char\")))", name: "search_index", using: :gin
t.index "lower((username)::text), COALESCE(lower((domain)::text), ''::text)", name: "index_accounts_on_username_and_domain_lower", unique: true
t.index ["moved_to_account_id"], name: "index_accounts_on_moved_to_account_id", where: "(moved_to_account_id IS NOT NULL)"