user-svc/sql/schema/migrations/tokenup.sql
2022-06-27 17:54:51 -04:00

8 lines
225 B
SQL

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