identity generator progress
This commit is contained in:
@@ -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)); }
|
||||
|
||||
Reference in New Issue
Block a user