5 lines
189 B
MySQL
5 lines
189 B
MySQL
|
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)
|
||
|
);
|