user-svc/migrations/20220627132445_tokenup.sql.sql

8 lines
205 B
SQL

CREATE TABLE IF NOT EXISTS token (
id INT AUTO_INCREMENT PRIMARY KEY,
user_id INT NOT NULL,
time_created DATETIME,
last_updated DATETIME,
auth_token TEXT NOT NULL,
refresh_token TEXT NOT NULL
)