identity generator progress

This commit is contained in:
Sascha Kühl
2026-02-11 16:01:44 +01:00
parent 881e93e0f6
commit 4c63322024
20 changed files with 68 additions and 69 deletions
+5 -4
View File
@@ -7,10 +7,11 @@ enum class constraints : unsigned char {
None = 0,
Index = 1 << 0,
Unique = 1 << 1,
PrimaryKey = 1 << 2,
ForeignKey = 1 << 3,
Default = 1 << 4,
NotNull = 1 << 5
PrimaryKey = 1 << 2,
ForeignKey = 1 << 3,
Identity = 1 << 4,
Default = 1 << 5,
NotNull = 1 << 6
};
inline constraints operator|(constraints a, constraints b) { return static_cast<constraints>(static_cast<unsigned int>(a) | static_cast<unsigned int>(b)); }