SQLTableBuilder documentation

This commit is contained in:
Gwendal Roué committed 2016-08-06 09:54:30 +02:00
1 parent 6e60ff2062
commit d78784e45e
1 file changed
+1 -1
+1 -1
View File
@@ -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,