diff options
Diffstat (limited to 'schema.sql')
-rw-r--r-- | schema.sql | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ CREATE TABLE users ( ); CREATE TABLE sessions ( userid TEXT NOT NULL, - cookie TEXT, - expr INTEGER, + cookie TEXT PRIMARY KEY NOT NULL, + expr INTEGER NOT NULL, FOREIGN KEY(userid) REFERENCES users(id) ); |