Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/datajoint/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"database.user": "DJ_USER",
"database.password": "DJ_PASS",
"database.port": "DJ_PORT",
"database.schema_prefix": "DJ_SCHEMA_PREFIX",
"database.database_prefix": "DJ_DATABASE_PREFIX",
"database.create_tables": "DJ_CREATE_TABLES",
"loglevel": "DJ_LOG_LEVEL",
}
Expand Down Expand Up @@ -187,11 +187,11 @@ class DatabaseSettings(BaseSettings):
port: int = Field(default=3306, validation_alias="DJ_PORT")
reconnect: bool = True
use_tls: bool | None = None
schema_prefix: str = Field(
database_prefix: str = Field(
default="",
validation_alias="DJ_SCHEMA_PREFIX",
description="Project-specific prefix for schema names. "
"Not automatically applied; use dj.config.database.schema_prefix when creating schemas.",
validation_alias="DJ_DATABASE_PREFIX",
description="Prefix for database/schema names. "
"Not automatically applied; use dj.config.database.database_prefix when creating schemas.",
)
create_tables: bool = Field(
default=True,
Expand Down
2 changes: 1 addition & 1 deletion src/datajoint/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# version bump auto managed by Github Actions:
# label_prs.yaml(prep), release.yaml(bump), post_release.yaml(edit)
# manually set this version will be eventually overwritten by the above actions
__version__ = "2.0.0a24"
__version__ = "2.0.0a25"
Loading