2021-11-27 00:36:34 +00:00
|
|
|
CREATE TABLE IF NOT EXISTS oauth_tokens (
|
|
|
|
id serial PRIMARY KEY,
|
|
|
|
id_user INTEGER NOT NULL,
|
|
|
|
cookie VARCHAR(64) UNIQUE NOT NULL,
|
|
|
|
access_token VARCHAR(128) NOT NULL,
|
2021-11-27 01:45:18 +00:00
|
|
|
auth_more TEXT NOT NULL,
|
2021-11-27 00:36:34 +00:00
|
|
|
created_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
|
|
|
);
|