This isn't intented to be merge yet, is just to show how I got stucked in the process
I wanted to start the migration from SQLite to PostgreSQL, using alembic and migrations is only a matter of change DATABASE_URL and it will create automaticly the schema with the (4)Postgresql server connected. The next process is to update test cases to verify all features are working properly
I want to discuss a couple of issues here:
The current implementation of test cases for sqlite doesn't work with postgres, I think because some connections concurrency
Client as a pytest fixture
Create the Token as async process
Docker compose (web + postgres at least for testing)
This isn't intented to be merge yet, is just to show how I got stucked in the process I wanted to start the migration from SQLite to PostgreSQL, using alembic and migrations is only a matter of change DATABASE_URL and it will create automaticly the schema with the (4)Postgresql server connected. The next process is to update test cases to verify all features are working properly I want to discuss a couple of issues here:
pytest fixture
Token
as async process