Set up Alembic for database migrations

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Frédéric Mangano-Tarumi 2020-02-22 22:31:26 +01:00 committed by Lukas Fleischer
parent 7188743fc3
commit a8a1f74a92
8 changed files with 252 additions and 3 deletions

View file

@ -47,8 +47,8 @@ read the instructions below.
4) Install Python modules and dependencies:
# pacman -S python-mysql-connector python-pygit2 python-srcinfo python-sqlalchemy
# pacman -S python-bleach python-markdown
# pacman -S python-mysql-connector python-pygit2 python-srcinfo python-sqlalchemy \
python-bleach python-markdown python-alembic
# python3 setup.py install
5) Create a new MySQL database and a user and import the aurweb SQL schema: