Commit 6a955c1
feat: add database.schema_prefix config setting
Users can store a project-specific schema prefix in config:
dj.config.database.schema_prefix = 'myproject_'
schema = dj.Schema(dj.config.database.schema_prefix + 'analysis')
Or via environment variable DJ_SCHEMA_PREFIX or datajoint.json.
The prefix is not automatically applied, giving users flexibility
in their naming conventions.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent aaf2158 commit 6a955c1
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
188 | 195 | | |
189 | 196 | | |
190 | 197 | | |
| |||
0 commit comments