Skip to content
Snippets Groups Projects
Commit ce8d44b7 authored by Andrea Callia D'Iddio's avatar Andrea Callia D'Iddio
Browse files

Chore: use PostgreSQL instead of SQLITE

parent 09ea3677
No related branches found
No related tags found
1 merge request!14WIP: Support group based restriction
...@@ -13,7 +13,9 @@ class BaseConfig: ...@@ -13,7 +13,9 @@ class BaseConfig:
# Database =================================================== # Database ===================================================
SQLALCHEMY_TRACK_MODIFICATIONS = True SQLALCHEMY_TRACK_MODIFICATIONS = True
SQLALCHEMY_DATABASE_URI = os.environ.get("DB_OVERRIDE", "sqlite:///dev.db") SQLALCHEMY_DATABASE_URI = os.environ.get(
"DB_OVERRIDE", "postgresql://user:pass@localhost/project_allocator_db"
)
class DevConfig(BaseConfig): class DevConfig(BaseConfig):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment