UserDatabase->User, ForeignKey added

This commit is contained in:
2023-07-30 12:35:08 +03:00
parent 517609ddbd
commit aaf0d20c65
13 changed files with 92 additions and 277 deletions

5
back/delete_db.py Normal file
View File

@ -0,0 +1,5 @@
from sqlalchemy import Table, MetaData
from .db import engine
tbl = Table('UserDatabase', MetaData(), autoload_with=engine)
tbl.drop(engine, checkfirst=False)