Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions data/oauth2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CREATE TABLE oauth_auth_codes (
client_id INTEGER,
scopes TEXT NULL,
revoked BOOLEAN,
expires_at TIMESTAMP,
expires_at TIMESTAMP NULL,
PRIMARY KEY(id)
);

Expand All @@ -15,9 +15,9 @@ CREATE TABLE oauth_access_tokens (
name VARCHAR(255) NULL,
scopes TEXT NULL,
revoked BOOLEAN,
created_at TIMESTAMP,
updated_at TIMESTAMP,
expires_at TIMESTAMP,
created_at TIMESTAMP NULL,
updated_at TIMESTAMP NULL,
expires_at TIMESTAMP NULL,
PRIMARY KEY(id)
);
CREATE INDEX idx1_oauth_access_tokens ON oauth_access_tokens(user_id);
Expand All @@ -39,16 +39,16 @@ CREATE TABLE oauth_clients (
personal_access_client BOOLEAN,
password_client BOOLEAN,
revoked BOOLEAN,
created_at TIMESTAMP,
updated_at TIMESTAMP,
created_at TIMESTAMP NULL,
updated_at TIMESTAMP NULL,
PRIMARY KEY (name)
);
CREATE INDEX idx1_oauth_clients ON oauth_clients(user_id);

CREATE TABLE oauth_personal_access_clients (
client_id INTEGER,
created_at TIMESTAMP,
updated_at TIMESTAMP
created_at TIMESTAMP NULL,
updated_at TIMESTAMP NULL
);
CREATE INDEX idx1_oauth_personal_access_clients ON oauth_personal_access_clients(client_id);

Expand Down