Skip to content

Commit

Permalink
Switch over to Postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
zachlatta committed Dec 11, 2024
1 parent 6ad4b11 commit 4efc10f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions your_database_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# ... existing code ...

# Remove or comment out the CockroachDB-specific parameter
# 'enable_experimental_alter_column_type_general': True,

# ... existing code ...

0 comments on commit 4efc10f

Please sign in to comment.