X-Git-Url: https://git-public.kairo.at/?p=authserver.git;a=blobdiff_plain;f=app%2Fauthutils.php-class;fp=app%2Fauthutils.php-class;h=e76098c5a273d992297d0da07d42639d733e9d3a;hp=4690bf2cd7566c87458da51fc9c105b7232de15d;hb=8f7b10823e51dd606db15c845d8d92044dbec58e;hpb=3875e0fb8b2b31d82809bd20880f1d206db4cb2c diff --git a/app/authutils.php-class b/app/authutils.php-class index 4690bf2..e76098c 100755 --- a/app/authutils.php-class +++ b/app/authutils.php-class @@ -634,7 +634,7 @@ class AuthUtils { $table = $schema->createTable('oauth_access_tokens'); $table->addColumn('access_token', 'string', array('length' => 40, 'notnull' => true)); $table->addColumn('client_id', 'string', array('length' => 80, 'notnull' => true)); - $table->addColumn('user_id', 'string', array('length' => 80, 'notnull' => false)); + $table->addColumn('user_id', 'string', array('length' => 255, 'notnull' => false)); $table->addColumn('expires', 'datetime', array('notnull' => true)); $table->addColumn('scope', 'string', array('length' => 2000, 'notnull' => false)); $table->setPrimaryKey(array('access_token'), 'access_token_pk'); @@ -642,7 +642,7 @@ class AuthUtils { $table = $schema->createTable('oauth_authorization_codes'); $table->addColumn('authorization_code', 'string', array('length' => 40, 'notnull' => true)); $table->addColumn('client_id', 'string', array('length' => 80, 'notnull' => true)); - $table->addColumn('user_id', 'string', array('length' => 80, 'notnull' => false)); + $table->addColumn('user_id', 'string', array('length' => 255, 'notnull' => false)); $table->addColumn('redirect_uri', 'string', array('length' => 2000, 'notnull' => false)); $table->addColumn('expires', 'datetime', array('notnull' => true)); $table->addColumn('scope', 'string', array('length' => 2000, 'notnull' => false)); @@ -651,7 +651,7 @@ class AuthUtils { $table = $schema->createTable('oauth_refresh_tokens'); $table->addColumn('refresh_token', 'string', array('length' => 40, 'notnull' => true)); $table->addColumn('client_id', 'string', array('length' => 80, 'notnull' => true)); - $table->addColumn('user_id', 'string', array('length' => 80, 'notnull' => false)); + $table->addColumn('user_id', 'string', array('length' => 255, 'notnull' => false)); $table->addColumn('expires', 'datetime', array('notnull' => true)); $table->addColumn('scope', 'string', array('length' => 2000, 'notnull' => false)); $table->setPrimaryKey(array('refresh_token'), 'refresh_token_pk');