Commit graph

6 commits

Author SHA1 Message Date
samhza
c00d518f6e
simplify postgres and sqlite database initialization, remove psqlinit.sh (#331)
Before this change, uninitialized databases would be initialized with the old
schema and then migrated to the latest version. After this change, unintialized
databases are initizialized with the latest database schema immediately, without
having to run any of the migrations. This change has no effect on existing
databases.

Before this change, Postgres database initialization was done manually using
utils/psqlinit.sh. This is inconsistent with SQLite, which the bot initializes
itself. It also requires shell access to the server running the Postgres
instance, which means it cannot be used on managed Postgres instances. After
this change, the bot initializes Postgres databases as it does with SQLite, and
utils/psqlinit.sh has been removed as it is now unecessary.
2022-11-26 15:31:00 -06:00
dx9er
a2c7f0185d
Add instructions on PostgreSQL script execution in docs (#315) 2022-09-21 05:09:21 +00:00
c72bb7baa1
Setup mkdocs 2022-07-26 13:48:37 -05:00
a18e7dcb0e
Add Fedora/RHEL instructions to the docs 2022-07-26 00:12:00 -05:00
df91afee1f
Replace all instances of this.specialArgs with this.options, update docs 2022-06-24 22:03:34 -05:00
d469d36a59
Move wiki inside repo 2022-06-24 18:04:05 -05:00