File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ the just created `flaskr` folder:
1313 drop table if exists entries;
1414 create table entries (
1515 id integer primary key autoincrement,
16- title string not null,
17- text string not null
16+ title text not null,
17+ text text not null
1818 );
1919
2020This schema consists of a single table called `entries ` and each row in
Original file line number Diff line number Diff line change 11drop table if exists entries;
22create table entries (
33 id integer primary key autoincrement,
4- title string not null ,
5- text string not null
4+ title text not null ,
5+ text text not null
66);
Original file line number Diff line number Diff line change 11drop table if exists user;
22create table user (
33 user_id integer primary key autoincrement,
4- username string not null ,
5- email string not null ,
6- pw_hash string not null
4+ username text not null ,
5+ email text not null ,
6+ pw_hash text not null
77);
88
99drop table if exists follower;
@@ -16,6 +16,6 @@ drop table if exists message;
1616create table message (
1717 message_id integer primary key autoincrement,
1818 author_id integer not null ,
19- text string not null ,
19+ text text not null ,
2020 pub_date integer
2121);
You can’t perform that action at this time.
0 commit comments