duggurd / graduation_project

0 stars 1 forks source link

All sql related operations as sqlalchemy #32

Open duggurd opened 1 year ago

duggurd commented 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.

duggurd commented 1 year ago

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.

duggurd commented 1 year ago

Also these files should be rewritten in sqlalchemy.

sql table definitions