Skip to content

Commit

Permalink
fix: enable run_migration by default
Browse files Browse the repository at this point in the history
  • Loading branch information
moeakwak committed Feb 3, 2024
1 parent 3450f62 commit 11e8674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/conf/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class DataSetting(BaseModel):
database_url: str = 'sqlite+aiosqlite:///data/database.db'
mongodb_url: str = 'mongodb://cws:password@mongo:27017'
mongodb_db_name: str = 'cws'
run_migration: bool = False
run_migration: bool = True
max_file_upload_size: int = Field(100 * 1024 * 1024, ge=0)

@field_validator("database_url")
Expand Down

0 comments on commit 11e8674

Please sign in to comment.