schema.sql
This file
Path
examples/minitwit/schema.sql
21 lines · 439 bytes · SQL
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than cc98ba9 point at it.
Merge pull request #1110 from methane/patch-2Armin Ronacherbefore adoptioncc98ba9
lines 1–21why, one step back1drop table if exists user;2create table user (3 user_id integer primary key autoincrement,4 username text not null,5 email text not null,6 pw_hash text not null7);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,19 text text not null,20 pub_date integer21);