Обновил 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`
(
`id` int unsigned NOT NULL AUTO_INCREMENT,
`client_name` varchar(150) NOT NULL,
`client_token` varchar(255) NOT NULL,
`client_id` varchar(255) NOT NULL,
id int unsigned auto_increment,
name varchar(150) not null,
identifier 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`),
UNIQUE KEY `client_token` (`client_token`),
UNIQUE KEY `client_id` (`client_id`)
UNIQUE KEY `secret` (`identifier`, `secret`),
UNIQUE KEY `identifier` (`identifier`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
DEFAULT COLLATE = utf8mb4_unicode_ci;