Allows placing any text after the column definition when ensureSchema is ran.
Useful for stuff like "NOT NULL", or "CHECK (x > y)", ...
Do not use to create foreign keys, use @FK instead.
1 @relation("testy") 2 struct Test 3 { 4 @serial @PK int id; 5 @suffix("NOT NULL") string username; // will produce "username TEXT NOT NULL" 6 }
See Implementation
Allows placing any text after the column definition when ensureSchema is ran.
Useful for stuff like "NOT NULL", or "CHECK (x > y)", ...
Do not use to create foreign keys, use @FK instead.