mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
Sql: finalizing JoinRef and introspection
git-svn-id: svn://ultimatepp.org/upp/trunk@4269 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ddc7196b18
commit
817b30a806
13 changed files with 317 additions and 235 deletions
|
|
@ -50,7 +50,10 @@
|
|||
UPGRADE("create sequence " #x " start with 1;")
|
||||
#define SEQUENCE_(x) DOID(x) SEQUENCE(x)
|
||||
|
||||
#ifndef PRIMARY_KEY
|
||||
#define PRIMARY_KEY INLINE_ATTRIBUTE("primary key")
|
||||
#endif
|
||||
|
||||
#define NOT_NULL INLINE_ATTRIBUTE("not null")
|
||||
#define UNIQUE INLINE_ATTRIBUTE("unique")
|
||||
#define SQLDEFAULT(v) INLINE_ATTRIBUTE("default " v)
|
||||
|
|
|
|||
Loading…
Reference in a new issue