schema.sql
This file
Path
examples/minitwit/schema.sql
21 lines · 439 bytes · SQL
Last changed by
Merge pull request #655 from oliversong/masterArmin Ronacherbefore adoptionab3d9d1
History of this fileTake it
The walk stopped after 200 commits: lines older than a3cb2a3 point at it.
Use American English for "behavior" in docs.Ron DuPlainbefore adoptiona3cb2a3
lines 1–3why, one step back1drop table if exists user;2create table user (3 user_id integer primary key autoincrement,Merge pull request #655 from oliversong/masterArmin Ronacherbefore adoptionab3d9d1
lines 4–6why, one step back4 username text not null,5 email text not null,6 pw_hash text not nullUse American English for "behavior" in docs.Ron DuPlainbefore adoptiona3cb2a3
lines 7–18why, one step back7);89drop table if exists follower;10create table follower (11 who_id integer,12 whom_id integer13);1415drop table if exists message;16create table message (17 message_id integer primary key autoincrement,18 author_id integer not null,Merge pull request #655 from oliversong/masterArmin Ronacherbefore adoptionab3d9d1
line 19why, one step back19 text text not null,Use American English for "behavior" in docs.Ron DuPlainbefore adoptiona3cb2a3
lines 20–21why, one step back20 pub_date integer21);