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.
@relation("testy") struct Test { @serial @PK int id; @suffix("NOT NULL") string username; // will produce "username TEXT NOT NULL" }
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.