From 033ad1877964b325695fda74ea7f811ef6d466da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 7 Aug 2016 13:51:34 +0200 Subject: [PATCH] CHANGELOG.md --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 15a50c726..ef81ce635 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 } } ```