Commit Graph

2 Commits

Author SHA1 Message Date
Sebastián Ramírez
a66a9256dd Adopt SQLModel, create models, start using it (#559)
* 🔥 Remove old SQLAlchemy models

*  Add new SQLModel models

* 🔧 Update Alembic configs to work with SQLModel

*  Re-generate initial Alembic migration

* 🔧 Update PostgreSQL driver connection string URL

*  Create new SQLModel engine

* 🔥 Remove old unneeded SQLAlchemy-specific files

* ♻️ Update init_db

* ♻️ Use new SQLModel session

* ♻️ Update conftest with new DB Session

* ♻️ Update pre-start scripts to use SQLModel session

* ♻️ Import new SQLModel models

*  Create new simplified create_user crud util

* ♻️ Update import in CRUDBase class (soon to be removed)

* 🙈 Update .gitignore with Python files
2023-11-25 00:08:22 +01:00
Sebastián Ramírez
455de4d9a9 ♻️ Refactor project generation, discard cookiecutter, use plain git/clone/fork (#553) 2023-11-15 21:20:29 +01:00