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:
parent
0ce47a365f
commit
2d992e7f13
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue