mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
SQLTableBuilder documentation
This commit is contained in:
1 parent
6e60ff2062
commit
d78784e45e
1 file changed
+1
-1
@@ -2203,7 +2203,7 @@ Define **not null** and **unique** columns, and set **default** values:
|
||||
t.column("name", .Text).check { length($0) > 0 }
|
||||
```
|
||||
|
||||
Use an individual columns as a **primary** or **foreign key**. When not specified, the referenced column is the primary key of the referenced table:
|
||||
Use an individual column as **primary** or **foreign key**. When not specified, the referenced column is the primary key of the referenced table:
|
||||
|
||||
```swift
|
||||
// id INTEGER PRIMARY KEY,
|
||||
|
||||
Reference in new issue
Block a user