Browse Source

Revert "Increase size for attributes column"

This reverts commit 14cb58df2b334126d5ee0c69e4ddfb81edaa5011.
Joe Grandja 3 years ago
parent
commit
e175f4fda3

+ 1 - 1
oauth2-authorization-server/src/main/resources/org/springframework/security/oauth2/server/authorization/oauth2-authorization-schema.sql

@@ -3,7 +3,7 @@ CREATE TABLE oauth2_authorization (
     registered_client_id varchar(100) NOT NULL,
     principal_name varchar(200) NOT NULL,
     authorization_grant_type varchar(100) NOT NULL,
-    attributes varchar(15000) DEFAULT NULL,
+    attributes varchar(4000) DEFAULT NULL,
     state varchar(500) DEFAULT NULL,
     authorization_code_value blob DEFAULT NULL,
     authorization_code_issued_at timestamp DEFAULT NULL,