mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
CHANGELOG.md
This commit is contained in:
1 parent
a132b58227
commit
033ad18779
1 file changed
+2
-2
+2
-2
@@ -18,7 +18,7 @@ Released August 6, 2016
|
||||
- DSL for table creation and updates (closes [#83](https://github.com/groue/GRDB.swift/issues/83), [documentation](https://github.com/groue/GRDB.swift#database-schema)):
|
||||
|
||||
```swift
|
||||
db.create(table: "pointOfInterests") { t in
|
||||
try db.create(table: "pointOfInterests") { t in
|
||||
t.column("id", .Integer).primaryKey()
|
||||
t.column("title", .Text)
|
||||
t.column("favorite", .Boolean).notNull()
|
||||
@@ -30,7 +30,7 @@ Released August 6, 2016
|
||||
- Support for the `length` SQLite built-in function:
|
||||
|
||||
```swift
|
||||
db.create(table: "persons") { t in
|
||||
try db.create(table: "persons") { t in
|
||||
t.column("name", .Text).check { length($0) > 0 }
|
||||
}
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user