From 2ae93a2a0b23a40c24e37d95530adcb0c74b077f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 26 Apr 2018 09:01:33 +0200 Subject: [PATCH] Honor #337 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9bf2a5bce..b9e9d38c0b 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ See [Database Connections](#database-connections) try dbQueue.write { db in try db.execute(""" CREATE TABLE places ( - id INTEGER PRIMARY KEY, + id INTEGER PRIMARY KEY AUTOINCREMENT, title TEXT NOT NULL, favorite BOOLEAN NOT NULL DEFAULT 0, latitude DOUBLE NOT NULL, @@ -566,7 +566,7 @@ For example: try dbQueue.write { db in try db.execute(""" CREATE TABLE players ( - id INTEGER PRIMARY KEY, + id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, score INT) """)