Skip to content

Commit d7bb016

Browse files
committed
minor fix
1 parent d1b3420 commit d7bb016

File tree

1 file changed

+30
-30
lines changed
  • spring-security-oauth/spring-security-oauth-server/src/main/resources

1 file changed

+30
-30
lines changed
Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
11
-- used in tests that use HSQL
22
create table if not exists oauth_client_details (
3-
client_id VARCHAR(256) PRIMARY KEY,
4-
resource_ids VARCHAR(256),
5-
client_secret VARCHAR(256),
6-
scope VARCHAR(256),
7-
authorized_grant_types VARCHAR(256),
8-
web_server_redirect_uri VARCHAR(256),
9-
authorities VARCHAR(256),
3+
client_id VARCHAR(255) PRIMARY KEY,
4+
resource_ids VARCHAR(255),
5+
client_secret VARCHAR(255),
6+
scope VARCHAR(255),
7+
authorized_grant_types VARCHAR(255),
8+
web_server_redirect_uri VARCHAR(255),
9+
authorities VARCHAR(255),
1010
access_token_validity INTEGER,
1111
refresh_token_validity INTEGER,
1212
additional_information VARCHAR(4096),
13-
autoapprove VARCHAR(256)
13+
autoapprove VARCHAR(255)
1414
);
1515

1616
create table if not exists oauth_client_token (
17-
token_id VARCHAR(256),
17+
token_id VARCHAR(255),
1818
token LONG VARBINARY,
19-
authentication_id VARCHAR(256) PRIMARY KEY,
20-
user_name VARCHAR(256),
21-
client_id VARCHAR(256)
19+
authentication_id VARCHAR(255) PRIMARY KEY,
20+
user_name VARCHAR(255),
21+
client_id VARCHAR(255)
2222
);
2323

2424
create table if not exists oauth_access_token (
25-
token_id VARCHAR(256),
25+
token_id VARCHAR(255),
2626
token LONG VARBINARY,
27-
authentication_id VARCHAR(256) PRIMARY KEY,
28-
user_name VARCHAR(256),
29-
client_id VARCHAR(256),
27+
authentication_id VARCHAR(255) PRIMARY KEY,
28+
user_name VARCHAR(255),
29+
client_id VARCHAR(255),
3030
authentication LONG VARBINARY,
31-
refresh_token VARCHAR(256)
31+
refresh_token VARCHAR(255)
3232
);
3333

3434
create table if not exists oauth_refresh_token (
35-
token_id VARCHAR(256),
35+
token_id VARCHAR(255),
3636
token LONG VARBINARY,
3737
authentication LONG VARBINARY
3838
);
3939

4040
create table if not exists oauth_code (
41-
code VARCHAR(256), authentication LONG VARBINARY
41+
code VARCHAR(255), authentication LONG VARBINARY
4242
);
4343

4444
create table if not exists oauth_approvals (
45-
userId VARCHAR(256),
46-
clientId VARCHAR(256),
47-
scope VARCHAR(256),
45+
userId VARCHAR(255),
46+
clientId VARCHAR(255),
47+
scope VARCHAR(255),
4848
status VARCHAR(10),
4949
expiresAt TIMESTAMP,
5050
lastModifiedAt TIMESTAMP
5151
);
5252

5353
-- customized oauth_client_details table
5454
create table if not exists ClientDetails (
55-
appId VARCHAR(256) PRIMARY KEY,
56-
resourceIds VARCHAR(256),
57-
appSecret VARCHAR(256),
58-
scope VARCHAR(256),
59-
grantTypes VARCHAR(256),
60-
redirectUrl VARCHAR(256),
61-
authorities VARCHAR(256),
55+
appId VARCHAR(255) PRIMARY KEY,
56+
resourceIds VARCHAR(255),
57+
appSecret VARCHAR(255),
58+
scope VARCHAR(255),
59+
grantTypes VARCHAR(255),
60+
redirectUrl VARCHAR(255),
61+
authorities VARCHAR(255),
6262
access_token_validity INTEGER,
6363
refresh_token_validity INTEGER,
6464
additionalInformation VARCHAR(4096),
65-
autoApproveScopes VARCHAR(256)
65+
autoApproveScopes VARCHAR(255)
6666
);

0 commit comments

Comments
 (0)