You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Removed schemas array from dj-store-meta.json
- 1:1 correspondence between database+project_name and store assumed
- DataJoint performs basic project_name verification on connect
- Enforcement is administrative responsibility, not DataJoint's
|`created`| string | Yes | ISO 8601 timestamp of store creation |
178
177
|`format_version`| string | Yes | Store format version for compatibility |
179
178
|`datajoint_version`| string | Yes | DataJoint version that created the store |
180
-
|`schemas`| array | No | List of schemas using this store (updated on schema creation) |
181
179
182
180
### Store Initialization
183
181
@@ -197,7 +195,7 @@ The store metadata file is created when the first `file` attribute is used:
197
195
198
196
### Client Verification
199
197
200
-
All DataJoint clients must use **identical `project_name`** settings to ensure store-database cohesion:
198
+
DataJoint performs a basic verification on connect to ensure store-database cohesion:
201
199
202
200
1.**On connect**: Client reads `dj-store-meta.json` from store
203
201
2.**Verify**: `project_name` in client settings matches store metadata
@@ -211,20 +209,13 @@ DataJointError: Object store project name mismatch.
211
209
Ensure all clients use the same object_storage.project_name setting.
212
210
```
213
211
214
-
### Schema Registration
212
+
### Administrative Responsibility
215
213
216
-
When a schema first uses the `file` type, it is added to the `schemas` list in the metadata:
214
+
A 1:1 correspondence is assumed between:
215
+
- Database location + `project_name` in client settings
216
+
- Object store + `project_name` in store metadata
217
217
218
-
```python
219
-
# After creating Recording table with file attribute in my_schema
220
-
# dj-store-meta.json is updated:
221
-
{
222
-
"project_name": "my_project",
223
-
"schemas": ["my_schema"] # my_schema added
224
-
}
225
-
```
226
-
227
-
This provides a record of which schemas have data in the store.
218
+
DataJoint performs basic verification but does **not** enforce this mapping. Administrators are responsible for ensuring correct configuration across all clients.
0 commit comments