fix(#7): Datenbank von SQLite auf PostgreSQL umstellen #10
No reviewers
Labels
No labels
api
backend
bug
database
doku
feature
frontend
improvement
in work
kritisch
L
M
niedrig
normal
review
S
service
wichtig
XL
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Basti/Bruno!10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/7-datenbank-von-sqlite-auf-postgresql-um"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bezieht sich auf #7
Änderungen
DATABASE_URLDefault aufpostgresql://bruno:bruno@localhost:5432/brunopsycopg2-binaryinrequirements.txtbackend/database.py:check_same_threadentfernt, conditional SQLite-Fallbackbackend/api/pipeline.py:julianday()→extract(epoch)für PostgreSQLalembic.ini: URL auf PostgreSQLalembic/env.py:render_as_batchentfernt,DATABASE_URLaus ENVdocker-compose.yml: PostgreSQL-Service mit Volume +depends_on.env.example: PostgreSQL-URL Beispieltests/conftest.py:TESTINGenv var,DATABASE_URLOverridebackend/main.py: Alembic-Migrations im Test überspringenTests