removed all old *_lst tables, added corresponding new classes, etc. fro covertype, owned, rating, and dropped tables from DB, etc. Updated base.html to use new tables as drop-downs that are set correctly. So far slight hack on BookForm, will finish that after syncing this all back to mara. If I do the sync, and export/import this version of DB, then the fixes.sql and fix_db() code included in main.py can be removed. Finally, lamely added a favicon and a static/ to support it
This commit is contained in:
2
README
2
README
@@ -14,7 +14,7 @@ sudo apt install python3-pip python3-psycopg2 libpq-dev
|
||||
pip3 install --user flask sqlalchemy flask-sqlalchemy flask-marshmallow SQLAlchemy-serializer flask-wtf flask-bootstrap marshmallow-sqlalchemy
|
||||
|
||||
|
||||
### alter db that was saved by:
|
||||
### fix up db changes by running those in fixes.sql
|
||||
psql library
|
||||
alter table genre_lst rename to genre;
|
||||
alter table genre rename COLUMN genre to name;
|
||||
|
||||
Reference in New Issue
Block a user