summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-09 23:37:59 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-09 23:37:59 +0200
commitbb356127ddc7f9ea735e287180057400f1631889 (patch)
tree9589f21d7007303d050899e58cecff4f1d7d289e /app
parent5690cf4d4e05eafdfd2e270bbdf1a925114d0f76 (diff)
Document loading the schema as the install path
db/schema.rb is in the repository, so a fresh install loads it rather than replaying migrations. db:setup and db:reset are safe; db:migrate is for an existing installation. The search_vector trigger is reinstalled by a db:schema:load hook and at boot, so a fresh install needs nothing further. A restore from a dump that predates the trigger needs pages:backfill_search_vector, now listed under one-shot tasks. The test database is no longer created by hand: Rails' db:test:prepare drops and recreates it from database.yml.
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions