Download this file
| 1 | CREATE TABLE members ( |
| 2 | id text NOT NULL, |
| 3 | email text NOT NULL, |
| 4 | name text NOT NULL DEFAULT '', |
| 5 | role text NOT NULL, |
| 6 | invited_at datetime NOT NULL, |
| 7 | joined_at datetime, |
| 8 | PRIMARY KEY (id) |
| 9 | ); |
| 10 | CREATE UNIQUE INDEX members_email ON members (email); |
| 11 | CREATE TABLE installs ( |
| 12 | app text NOT NULL, |
| 13 | host text NOT NULL, |
| 14 | state text NOT NULL, |
| 15 | error text NOT NULL DEFAULT '', |
| 16 | updated_at datetime NOT NULL, |
| 17 | PRIMARY KEY (app) |
| 18 | ); |
| 19 | |