To support database format changes, rCTF uses migrations to update the postgreSQL structure.
The initial database structure also relies on migrations. Therefore, if automatic migrations aren't enabled, you must run manual migrations before rCTF starts up for the first time.
If you want migrations to be run automatically at server startup, set
database: migrate: before
Automatic migrations incur a startup cost, which can be significant if running at scale. Therefore, for large deployments, manual migrations should be used.
If you want to disable automatic migrations, set
database: migrate: never
Then, when you need to run migrations, run:
Alternatively, you can set
only and run rCTF. rCTF will exit when migrations are complete.