Skip to content

Commit

Permalink
update sql to support oracle (#2355)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-skoblikov authored Feb 5, 2024
1 parent 590830c commit 98d7d1f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -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
(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ALTER TABLE {table_prefix}CB_USER_SECRETS
ADD COLUMN ENCODING_TYPE VARCHAR(32) DEFAULT 'PLAINTEXT' NOT NULL;
ADD ENCODING_TYPE VARCHAR(32) DEFAULT 'PLAINTEXT' NOT NULL;
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ALTER TABLE {table_prefix}CB_AUTH_ATTEMPT
ADD COLUMN IS_MAIN_AUTH CHAR(1) DEFAULT 'Y' NOT NULL;
ADD IS_MAIN_AUTH CHAR(1) DEFAULT 'Y' NOT NULL;
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ALTER TABLE {table_prefix}CB_AUTH_ATTEMPT
ADD COLUMN AUTH_USERNAME VARCHAR(128) NULL;
ADD AUTH_USERNAME VARCHAR(128) NULL;
Original file line number Diff line number Diff line change
Expand Up @@ -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;
ADD IS_SECRET_STORAGE CHAR(1) DEFAULT 'Y' NOT NULL;

0 comments on commit 98d7d1f

Please sign in to comment.