trifid/trifid-api/migrations/20230206031048_create_auth_...

5 lines
189 B
MySQL
Raw Normal View History

2023-02-06 03:45:00 +00:00
CREATE TABLE auth_tokens (
id VARCHAR(39) NOT NULL PRIMARY KEY,
user_id SERIAL NOT NULL REFERENCES users(id),
session_token VARCHAR(39) NOT NULL REFERENCES session_tokens(id)
);