diff --git a/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_11.sql b/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_11.sql index 34d76049b9..71dfd179e9 100644 --- a/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_11.sql +++ b/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_11.sql @@ -1,6 +1,6 @@ -ALTER TABLE {table_prefix}CB_AUTH_TOKEN ADD COLUMN AUTH_ROLE VARCHAR(32); +ALTER TABLE {table_prefix}CB_AUTH_TOKEN ADD AUTH_ROLE VARCHAR(32); -ALTER TABLE {table_prefix}CB_USER ADD COLUMN DEFAULT_AUTH_ROLE VARCHAR(32) NULL; +ALTER TABLE {table_prefix}CB_USER ADD DEFAULT_AUTH_ROLE VARCHAR(32) NULL; CREATE TABLE {table_prefix}CB_TEAM ( diff --git a/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_13.sql b/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_13.sql index 200cc664ea..f76655eee0 100644 --- a/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_13.sql +++ b/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_13.sql @@ -1,2 +1,2 @@ ALTER TABLE {table_prefix}CB_USER_SECRETS - ADD COLUMN ENCODING_TYPE VARCHAR(32) DEFAULT 'PLAINTEXT' NOT NULL; \ No newline at end of file + ADD ENCODING_TYPE VARCHAR(32) DEFAULT 'PLAINTEXT' NOT NULL; \ No newline at end of file diff --git a/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_14.sql b/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_14.sql index 39927e4dd4..743f481099 100644 --- a/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_14.sql +++ b/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_14.sql @@ -1,2 +1,2 @@ ALTER TABLE {table_prefix}CB_AUTH_ATTEMPT - ADD COLUMN IS_MAIN_AUTH CHAR(1) DEFAULT 'Y' NOT NULL; \ No newline at end of file + ADD IS_MAIN_AUTH CHAR(1) DEFAULT 'Y' NOT NULL; \ No newline at end of file diff --git a/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_15.sql b/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_15.sql index 50324a3188..4f1add7d8f 100644 --- a/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_15.sql +++ b/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_15.sql @@ -1,2 +1,2 @@ ALTER TABLE {table_prefix}CB_AUTH_ATTEMPT - ADD COLUMN AUTH_USERNAME VARCHAR(128) NULL; \ No newline at end of file + ADD AUTH_USERNAME VARCHAR(128) NULL; \ No newline at end of file diff --git a/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_16.sql b/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_16.sql index 42e350c4c2..71db4cc431 100644 --- a/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_16.sql +++ b/server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_16.sql @@ -26,4 +26,4 @@ SELECT USER_ID, SECRET_ID, SECRET_VALUE, ENCODING_TYPE, UPDATE_TIME, UPDATE_TIME DROP TABLE {table_prefix}CB_USER_SECRETS; ALTER TABLE {table_prefix}CB_AUTH_SUBJECT - ADD COLUMN IS_SECRET_STORAGE CHAR(1) DEFAULT 'Y' NOT NULL; \ No newline at end of file + ADD IS_SECRET_STORAGE CHAR(1) DEFAULT 'Y' NOT NULL; \ No newline at end of file