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.
This commit is contained in:
root-11 2014-07-01 15:57:50 +01:00
parent 0ce47a365f
commit 2d992e7f13

View file

@ -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