mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
Combines the following repositories into one: https://github.com/mattermost/mattermost-server https://github.com/mattermost/mattermost-webapp https://github.com/mattermost/focalboard https://github.com/mattermost/mattermost-plugin-playbooks
16 lines
499 B
SQL
16 lines
499 B
SQL
CREATE TABLE IF NOT EXISTS oauthapps (
|
|
id VARCHAR(26) PRIMARY KEY,
|
|
creatorid VARCHAR(26),
|
|
createat bigint,
|
|
updateat bigint,
|
|
clientsecret VARCHAR(128),
|
|
name VARCHAR(64),
|
|
description VARCHAR(512),
|
|
callbackurls VARCHAR(1024),
|
|
homepage VARCHAR(256)
|
|
);
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_oauthapps_creator_id ON oauthapps (creatorid);
|
|
|
|
ALTER TABLE oauthapps ADD COLUMN IF NOT EXISTS istrusted boolean;
|
|
ALTER TABLE oauthapps ADD COLUMN IF NOT EXISTS iconurl VARCHAR(512);
|