diff --git a/config.yml b/config.yml index 3f0ad145..b23fce6a 100644 --- a/config.yml +++ b/config.yml @@ -21,7 +21,7 @@ app: avatar_url_template: https://api.dicebear.com/9.x/thumbs/svg?seed={username_hash} db: - dialect: cockroach # mysql, postgres, sqlite3, mssql + dialect: postgres # mysql, postgres, sqlite3, mssql max_conn: 6 # maximum number of concurrent connections to maintain ssl: true # whether to use tls for db connection (must be true for cockroachdb) (ignored for mysql and sqlite) (true means encrypt=true in mssql) automigrate_fail_silently: true # whether to ignore schema auto-migration failures when starting up diff --git a/your_database_config.py b/your_database_config.py new file mode 100644 index 00000000..89f44f2d --- /dev/null +++ b/your_database_config.py @@ -0,0 +1,6 @@ +# ... existing code ... + +# Remove or comment out the CockroachDB-specific parameter +# 'enable_experimental_alter_column_type_general': True, + +# ... existing code ... \ No newline at end of file