Skip to content

Commit 1d6fd3b

Browse files
feat: Remove unsigned integer types from core types
Remove uint8, uint16, uint32, and uint64 from CORE_TYPES dictionary. These unsigned integer types are MySQL-specific and not portable to PostgreSQL and other database backends. Unsigned types can still be used as native types (with existing warning system for non-core types), but are no longer recommended as part of DataJoint's portable core type system. This establishes a clean foundation for multi-database support in v2.1. Part of v2.0 core type system revision.
1 parent 3f1d072 commit 1d6fd3b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/datajoint/declare.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,9 @@
2525
"float32": (r"float32$", "float"),
2626
"float64": (r"float64$", "double"),
2727
"int64": (r"int64$", "bigint"),
28-
"uint64": (r"uint64$", "bigint unsigned"),
2928
"int32": (r"int32$", "int"),
30-
"uint32": (r"uint32$", "int unsigned"),
3129
"int16": (r"int16$", "smallint"),
32-
"uint16": (r"uint16$", "smallint unsigned"),
3330
"int8": (r"int8$", "tinyint"),
34-
"uint8": (r"uint8$", "tinyint unsigned"),
3531
"bool": (r"bool$", "tinyint"),
3632
# UUID (stored as binary)
3733
"uuid": (r"uuid$", "binary(16)"),

0 commit comments

Comments
 (0)