trifid/trifid-api/migrations/20230206012409_create_sessi...

5 lines
155 B
MySQL
Raw Normal View History

CREATE TABLE session_tokens (
id VARCHAR(36) NOT NULL PRIMARY KEY,
user_id SERIAL NOT NULL REFERENCES users(id),
expires_on INTEGER NOT NULL
);