From 2836fbd15fd0f6a3d8279cbd148ae1d9278d720a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 5 Jul 2015 22:25:07 +0200 Subject: [PATCH] README.md --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index bca7b46c8..b7f75e541 100644 --- a/README.md +++ b/README.md @@ -717,11 +717,7 @@ You can for example **override primitive methods**: class Book : RowModel { ... - override class var databasePrimaryKey: PrimaryKey { - return .Column("uuid") - } - - // Before insertion, set uuid if not set yet. + // Before insertion, set uuid primary key if not set yet. override func insert(db: Database) throws { if uuid == nil { uuid = NSUUID().UUIDString