Skip to content

Commit

Permalink
Changing string to text in schema files
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversong committed Dec 26, 2012
1 parent 2af0ffa commit cc82feb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial/schema.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ the just created `flaskr` folder:
drop table if exists entries;
create table entries (
id integer primary key autoincrement,
title string not null,
text string not null
title text not null,
text text not null
);

This schema consists of a single table called `entries` and each row in
Expand Down
4 changes: 2 additions & 2 deletions examples/flaskr/schema.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
drop table if exists entries;
create table entries (
id integer primary key autoincrement,
title string not null,
text string not null
title text not null,
text text not null
);
8 changes: 4 additions & 4 deletions examples/minitwit/schema.sql
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
drop table if exists user;
create table user (
user_id integer primary key autoincrement,
username string not null,
email string not null,
pw_hash string not null
username text not null,
email text not null,
pw_hash text not null
);

drop table if exists follower;
Expand All @@ -16,6 +16,6 @@ drop table if exists message;
create table message (
message_id integer primary key autoincrement,
author_id integer not null,
text string not null,
text text not null,
pub_date integer
);

0 comments on commit cc82feb

Please sign in to comment.