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, auth_more TEXT NOT NULL, created_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP );