mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 09:47:46 +05:30
Renamed primary key in oauth_client_endpoints table
This commit is contained in:
parent
24634aabd7
commit
3617a3b37d
@ -8,13 +8,13 @@ CREATE TABLE `oauth_clients` (
|
|||||||
) ENGINE=INNODB DEFAULT CHARSET=utf8;
|
) ENGINE=INNODB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE `oauth_client_endpoints` (
|
CREATE TABLE `oauth_client_endpoints` (
|
||||||
`endpoint_id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`client_id` CHAR(40) NOT NULL,
|
`client_id` char(40) NOT NULL,
|
||||||
`redirect_uri` VARCHAR(255) NOT NULL,
|
`redirect_uri` varchar(255) NOT NULL,
|
||||||
PRIMARY KEY (`endpoint_id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `i_oaclen_clid` (`client_id`),
|
KEY `i_oaclen_clid` (`client_id`),
|
||||||
CONSTRAINT `f_oaclen_clid` FOREIGN KEY (`client_id`) REFERENCES `oauth_clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
CONSTRAINT `f_oaclen_clid` FOREIGN KEY (`client_id`) REFERENCES `oauth_clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||||
) ENGINE=INNODB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE `oauth_sessions` (
|
CREATE TABLE `oauth_sessions` (
|
||||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
Loading…
Reference in New Issue
Block a user