Open duggurd opened 1 year ago
Convert all sql operations to sqlalchemy. Especially the creation/initialization of the databse, should use a sqlalchemy MetaData object to handle it.
MetaData
https://github.com/duggurd/graduation_project/blob/91630a8becf216ea5a9a1ac57bf33449ee39e5d9/src/utils/create_tables.py#L1-L26
This should be replaced by a project wide sqlalchemy MetaData object.
Also these files should be rewritten in sqlalchemy.
sql table definitions
Convert all sql operations to sqlalchemy. Especially the creation/initialization of the databse, should use a sqlalchemy
MetaData
object to handle it.