Skip to content

Commit 11e8674

Browse files
committedFeb 3, 2024
fix: enable run_migration by default
1 parent 3450f62 commit 11e8674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎backend/api/conf/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class DataSetting(BaseModel):
4747
database_url: str = 'sqlite+aiosqlite:///data/database.db'
4848
mongodb_url: str = 'mongodb://cws:password@mongo:27017'
4949
mongodb_db_name: str = 'cws'
50-
run_migration: bool = False
50+
run_migration: bool = True
5151
max_file_upload_size: int = Field(100 * 1024 * 1024, ge=0)
5252

5353
@field_validator("database_url")

0 commit comments

Comments
 (0)
Failed to load comments.