diff options
Diffstat (limited to 'src/main/resources/db/migration/V1.29__oauth_clients.sql')
-rw-r--r-- | src/main/resources/db/migration/V1.29__oauth_clients.sql | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/resources/db/migration/V1.29__oauth_clients.sql b/src/main/resources/db/migration/V1.29__oauth_clients.sql new file mode 100644 index 00000000..17bec0b3 --- /dev/null +++ b/src/main/resources/db/migration/V1.29__oauth_clients.sql @@ -0,0 +1,15 @@ +CREATE TABLE oauth2_registered_client ( + id varchar(100) NOT NULL, + client_id varchar(100) NOT NULL, + client_id_issued_at timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + client_secret varchar(200) DEFAULT NULL, + client_secret_expires_at timestamp DEFAULT NULL, + client_name varchar(200) NOT NULL, + client_authentication_methods varchar(1000) NOT NULL, + authorization_grant_types varchar(1000) NOT NULL, + redirect_uris varchar(1000) DEFAULT NULL, + scopes varchar(1000) NOT NULL, + client_settings varchar(2000) NOT NULL, + token_settings varchar(2000) NOT NULL, + PRIMARY KEY (id) +);
\ No newline at end of file |