mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Sqlite3: .sch REFERENCES
git-svn-id: svn://ultimatepp.org/upp/trunk@13461 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
dac40ac423
commit
54b0f6522a
1 changed files with 4 additions and 4 deletions
|
|
@ -52,19 +52,19 @@
|
|||
"drop index IDX_@x;")
|
||||
|
||||
#ifndef REFERENCES
|
||||
#define REFERENCES(x)
|
||||
#define REFERENCES(n, x) INLINE_ATTRIBUTE("REFERENCES " #n)
|
||||
#endif
|
||||
|
||||
#ifndef REFERENCES_CASCADE
|
||||
#define REFERENCES_CASCADE(x)
|
||||
#define REFERENCES_CASCADE(n, x) INLINE_ATTRIBUTE("REFERENCES " #n " ON DELETE CASCADE")
|
||||
#endif
|
||||
|
||||
#ifndef REFERENCES_
|
||||
#define REFERENCES_(n, x)
|
||||
#define REFERENCES_(n, x) INLINE_ATTRIBUTE("REFERENCES " #n "(" #x ")")
|
||||
#endif
|
||||
|
||||
#ifndef REFERENCES_CASCADE_
|
||||
#define REFERENCES_CASCADE_(n, x)
|
||||
#define REFERENCES_CASCADE_(n, x) INLINE_ATTRIBUTE("REFERENCES " #n "(" #x ") ON DELETE CASCADE")
|
||||
#endif
|
||||
|
||||
#define DUAL_PRIMARY_KEY(k1, k2) INLINE_ATTRIBUTE(", primary key (" #k1 ", " #k2 ")")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue