mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
Fixed client_id column length
This commit is contained in:
parent
5ed4a8a2c4
commit
ac990b609a
@ -20,7 +20,7 @@ CREATE TABLE `client_endpoints` (
|
|||||||
-- Create syntax for TABLE 'oauth_sessions'
|
-- Create syntax for TABLE 'oauth_sessions'
|
||||||
CREATE TABLE `oauth_sessions` (
|
CREATE TABLE `oauth_sessions` (
|
||||||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`client_id` varchar(32) NOT NULL DEFAULT '',
|
`client_id` varchar(40) NOT NULL DEFAULT '',
|
||||||
`redirect_uri` varchar(250) NOT NULL DEFAULT '',
|
`redirect_uri` varchar(250) NOT NULL DEFAULT '',
|
||||||
`owner_type` enum('user','client') NOT NULL DEFAULT 'user',
|
`owner_type` enum('user','client') NOT NULL DEFAULT 'user',
|
||||||
`owner_id` varchar(255) DEFAULT NULL,
|
`owner_id` varchar(255) DEFAULT NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user