Skip to content
Myr

Merge pull request #655 from oliversong/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

SQLite doesn't recognize data type "string"

authored by Armin Ronacher · committed by Armin Ronacher · parents e101655, cc82feb · Browse files · 3 files+8 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+8 added−8 removed

  • other:+8 added−8 removed

3 files+8 added−8 removed

modified:docs/tutorial/schema.rst+2 added-2 removed
11 unmodified lines
1213 drop table if exists entries;14 create table entries (15 id integer primary key autoincrement,16 title string not null,17 text string not null16 title text not null,17 text text not null18 );1920This schema consists of a single table called `entries` and each row in21this table has an `id`, a `title` and a `text`. The `id` is an
4 unmodified lines
modified:examples/flaskr/schema.sql+2 added-2 removed
1drop table if exists entries;2create table entries (3 id integer primary key autoincrement,4 title string not null,5 text string not null4 title text not null,5 text text not null6);
modified:examples/minitwit/schema.sql+4 added-4 removed
1drop table if exists user;2create table user (3 user_id integer primary key autoincrement,4 username string not null,5 email string not null,6 pw_hash string not null4 username text not null,5 email text not null,6 pw_hash text not null7);89drop table if exists follower;10create table follower (
4 unmodified lines
15drop table if exists message;16create table message (17 message_id integer primary key autoincrement,18 author_id integer not null,19 text string not null,19 text text not null,20 pub_date integer21);