From 267d63b60e2c1df4f7c0e3d7176cdb3473edf50c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 22 Jul 2015 23:19:26 +0200 Subject: [PATCH] README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 28d4585d8..94736f497 100644 --- a/README.md +++ b/README.md @@ -1021,7 +1021,7 @@ For example, avoid the table below: ```sql CREATE TABLE persons ( id INTEGER PRIMARY KEY, - creationDate DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, + creationDate DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, // Avoid ... ) ``` @@ -1031,7 +1031,7 @@ Instead, override `insert()` and provide the default value there: ```sql CREATE TABLE persons ( id INTEGER PRIMARY KEY, - creationDate DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, + creationDate DATETIME NOT NULL, // OK ... ) ```