docq icon indicating copy to clipboard operation
docq copied to clipboard

CORE: Add database schema control, likely via an ORM

Open cwang opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Right now, there's no db schema change control; all the tables are created on the fly. This is not fit for purpose as production-ready software.

Describe the solution you'd like See https://github.com/ozcanyarimdunya/python-orm for 3 mainstream ORMs as candidates. The safe choice is SQLAlchemy for sure

Describe alternatives you've considered See above for 3 ORM tools.

Additional context Ideally pick one having good integration with FastAPI.

cwang avatar Jul 17 '23 13:07 cwang

Urgency lowered

Note: given database schema creation and initialisation has been added this isn't needed as much any more.

janaka avatar Aug 08 '23 10:08 janaka