From 2d992e7f135f6e3aa521ad210fc0febd5b93d30f Mon Sep 17 00:00:00 2001 From: root-11 Date: Tue, 1 Jul 2014 15:57:50 +0100 Subject: [PATCH] Update schema.rst The error is that sqlite3 needs escaping on the database column 'text' in the line: text text not null so that it becomes: 'text' text not null The example on mitsuhiko/flask is correct and helped me detecting the mistake. --- docs/tutorial/schema.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/schema.rst b/docs/tutorial/schema.rst index f8455037..246baccd 100644 --- a/docs/tutorial/schema.rst +++ b/docs/tutorial/schema.rst @@ -14,7 +14,7 @@ named `schema.sql` in the just created `flaskr` folder: create table entries ( id integer primary key autoincrement, title text not null, - text text not null + 'text' text not null ); This schema consists of a single table called `entries` and each row in