Sql: finalizing JoinRef and introspection

git-svn-id: svn://ultimatepp.org/upp/trunk@4269 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-12-07 20:21:09 +00:00
commit 817b30a806
13 changed files with 317 additions and 235 deletions

View file

@ -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)