-
- Downloads
Migrate the database schema to SQLAlchemy
The new schema was generated with sqlacodegen and then manually adjusted
to fit schema/aur-schema.sql faithfully, both in the organisation of the
code and in the SQL generated by SQLAlchemy.
Initializing the database now requires the new tool aurweb.initdb.
References to aur-schema.sql have been updated and the old schema
dropped.
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
Showing
- INSTALL 6 additions, 6 deletionsINSTALL
- TESTING 12 additions, 11 deletionsTESTING
- aurweb/db.py 27 additions, 0 deletionsaurweb/db.py
- aurweb/initdb.py 47 additions, 0 deletionsaurweb/initdb.py
- aurweb/schema.py 387 additions, 0 deletionsaurweb/schema.py
- schema/Makefile 0 additions, 12 deletionsschema/Makefile
- schema/aur-schema.sql 0 additions, 415 deletionsschema/aur-schema.sql
- schema/reloadtestdb.sh 0 additions, 29 deletionsschema/reloadtestdb.sh
- test/Makefile 1 addition, 5 deletionstest/Makefile
- test/setup.sh 1 addition, 4 deletionstest/setup.sh
Loading
Please register or sign in to comment