Skip to content

Commit 92647f1

Browse files
Fix DataJoint syntax in HashRegistry definition
- Use '= CURRENT_TIMESTAMP : datetime' syntax (not SQL DEFAULT) - Use uint64 core type instead of 'bigint unsigned' native type Co-authored-by: dimitri-yatsenko <dimitri@datajoint.com>
1 parent 1ad327d commit 92647f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/design/tables/storage-types-spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,8 @@ class HashRegistry:
611611
hash_id : char(64) # SHA256 hex
612612
---
613613
store : varchar(64) # Store name
614-
size : bigint unsigned # Size in bytes
615-
created : timestamp DEFAULT CURRENT_TIMESTAMP
614+
size : uint64 # Size in bytes
615+
created = CURRENT_TIMESTAMP : datetime
616616
"""
617617
```
618618

0 commit comments

Comments
 (0)