The dependency on SQLModel should be removed and SQLAlchemy should be used directly instead. In this way, one abstraction layer is removed and database access can take place more flexibly. In addition, the dependencies are reduced.
The removal of SQLModel entails changes in the following areas:
Connecting to the database and creating sessions.
Database migrations must not have dependencies on SQLModel. (AutoString must be replaced).
The dependency on SQLModel should be removed and SQLAlchemy should be used directly instead. In this way, one abstraction layer is removed and database access can take place more flexibly. In addition, the dependencies are reduced.
The removal of SQLModel entails changes in the following areas:
AutoString
must be replaced).