Обновил DDL для #__webmasterskaya_oauthserver_clients

This commit is contained in:
Artem Vasilev 2024-03-04 03:21:36 +03:00
parent 53d02b05d5
commit f5fe779e5d

View File

@ -1,12 +1,15 @@
CREATE TABLE IF NOT EXISTS `#__webmasterskaya_oauthserver_clients` CREATE TABLE IF NOT EXISTS `#__webmasterskaya_oauthserver_clients`
( (
`id` int unsigned NOT NULL AUTO_INCREMENT, id int unsigned auto_increment,
`client_name` varchar(150) NOT NULL, name varchar(150) not null,
`client_token` varchar(255) NOT NULL, identifier varchar(255) not null,
`client_id` varchar(255) NOT NULL, secret varchar(255) null,
public tinyint default 0 not null,
redirect_uri varchar(255) null,
allow_plain_text_pkce tinyint default 1 not null,
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE KEY `client_token` (`client_token`), UNIQUE KEY `secret` (`identifier`, `secret`),
UNIQUE KEY `client_id` (`client_id`) UNIQUE KEY `identifier` (`identifier`)
) ENGINE = InnoDB ) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4 DEFAULT CHARSET = utf8mb4
DEFAULT COLLATE = utf8mb4_unicode_ci; DEFAULT COLLATE = utf8mb4_unicode_ci;