11 lines
385 B
MySQL
11 lines
385 B
MySQL
|
CREATE TABLE oauth_application (
|
||
|
id INTEGER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
||
|
app_name VARCHAR(100) NOT NULL,
|
||
|
website VARCHAR(100),
|
||
|
scopes VARCHAR(200) NOT NULL,
|
||
|
redirect_uri VARCHAR(200) NOT NULL,
|
||
|
client_id UUID UNIQUE NOT NULL,
|
||
|
client_secret VARCHAR(100) NOT NULL,
|
||
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||
|
);
|