2023-09-21 17:13:10 +00:00
|
|
|
CREATE TABLE IF NOT EXISTS "token" (
|
2023-09-20 20:23:29 +00:00
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
user_id INT NOT NULL,
|
|
|
|
auth_token TEXT NOT NULL,
|
|
|
|
refresh_token TEXT NOT NULL,
|
|
|
|
time_created TIMESTAMPTZ NOT NULL,
|
|
|
|
last_updated TIMESTAMPTZ NOT NULL
|
|
|
|
)
|