8ba58234e0
Now you dont have to send your password over the wire every time and can make do with a token instead. There's lots of debugging info now to make it easier for me to fix bugs with the server
8 lines
153 B
SQL
8 lines
153 B
SQL
-- Your SQL goes here
|
|
CREATE TABLE tokens (
|
|
id SERIAL PRIMARY KEY,
|
|
username TEXT NOT NULL,
|
|
token TEXT NOT NULL,
|
|
expiry BIGINT NOT NULL
|
|
)
|