Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Add PostgreSQL compatibility comment to migration utilities
Murtaza Nasircc516ba4405d
diff --git a/src/utils/database.py b/src/utils/database.pyindex 7a5a4e35..871be3eb 100644--- a/src/utils/database.py+++ b/src/utils/database.py@@ -1,5 +1,10 @@"""Database schema migration utilities.++IMPORTANT: All migrations must be compatible with both SQLite and PostgreSQL.+- Boolean defaults: SQLite uses 0/1, PostgreSQL requires FALSE/TRUE+- Reserved keywords: "user", "order" etc. must be quoted+- The add_column_if_not_exists() function handles these automatically"""from sqlalchemy import inspect, text