Skip to content

Commit

Permalink
Update scripts for MSSQL and Oracle are invalid #27
Browse files Browse the repository at this point in the history
  • Loading branch information
glebshalyganov committed Jan 22, 2021
1 parent 1040e5e commit dc96595
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ alter table SAMLADDON_SAML_CONNECTION drop column KEYSTORE_ID cascade ;
alter table SAMLADDON_SAML_CONNECTION drop column KEYSTORE_LOGIN cascade ;
alter table SAMLADDON_SAML_CONNECTION drop column KEYSTORE_PASSWORD cascade ;

alter table SAMLADDON_SAML_CONNECTION add column KEYSTORE_ID uniqueidentifier ;
alter table SAMLADDON_SAML_CONNECTION add KEYSTORE_ID uniqueidentifier ;
alter table SAMLADDON_SAML_CONNECTION add constraint FK_SAMLADDON_SAML_CONNECTION_ON_KEYSTORE foreign key (KEYSTORE_ID) references SAMLADDON_KEY_STORE(ID);
drop index IDX_SAMLADDON_SAML_CONNECTION_ON_KEYSTORE ;
alter table SAMLADDON_SAML_CONNECTION drop constraint FK_SAMLADDON_SAML_CONNECTION_ON_KEYSTORE ;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alter table SAMLADDON_SAML_CONNECTION alter column CODE set null ;
alter table SAMLADDON_SAML_CONNECTION add column SSO_PATH varchar(100) ^
alter table SAMLADDON_SAML_CONNECTION add SSO_PATH varchar(100) ^
update SAMLADDON_SAML_CONNECTION set SSO_PATH = '' where SSO_PATH is null ;
alter table SAMLADDON_SAML_CONNECTION alter column SSO_PATH set not null ;
alter table SAMLADDON_SAML_CONNECTION drop column CODE cascade ;
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
alter table SAMLADDON_SAML_CONNECTION add column METADATA_TRUST_CHECK TINYINT DEFAULT(1);
alter table SAMLADDON_SAML_CONNECTION add METADATA_TRUST_CHECK TINYINT DEFAULT(1);
Original file line number Diff line number Diff line change
@@ -1 +1 @@
alter table SAMLADDON_KEY_STORE add column KEYSTORE_PASSWORD varchar(100) ^
alter table SAMLADDON_KEY_STORE add KEYSTORE_PASSWORD varchar(100) ^
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ alter table SAMLADDON_SAML_CONNECTION drop column KEYSTORE_ID cascade ;
alter table SAMLADDON_SAML_CONNECTION drop column KEYSTORE_LOGIN cascade ;
alter table SAMLADDON_SAML_CONNECTION drop column KEYSTORE_PASSWORD cascade ;

alter table SAMLADDON_SAML_CONNECTION add column KEYSTORE_ID varchar2(32) ;
alter table SAMLADDON_SAML_CONNECTION add KEYSTORE_ID varchar2(32) ;
alter table SAMLADDON_SAML_CONNECTION add constraint FK_SAML_KEYSTORE foreign key (KEYSTORE_ID) references SAMLADDON_KEY_STORE(ID);
drop index IDX_SAMLADDON_SAML_CONNECTION_ON_KEYSTORE ;
alter table SAMLADDON_SAML_CONNECTION drop constraint FK_SAML_KEYSTORE ;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alter table SAMLADDON_SAML_CONNECTION alter column CODE set null ;
alter table SAMLADDON_SAML_CONNECTION add column SSO_PATH varchar2(100) ;
alter table SAMLADDON_SAML_CONNECTION add SSO_PATH varchar2(100) ;
update SAMLADDON_SAML_CONNECTION set SSO_PATH = '' where SSO_PATH is null ;
alter table SAMLADDON_SAML_CONNECTION alter column SSO_PATH set not null ;
alter table SAMLADDON_SAML_CONNECTION drop column CODE cascade ;
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
alter table SAMLADDON_SAML_CONNECTION add column METADATA_TRUST_CHECK char(1);
alter table SAMLADDON_SAML_CONNECTION add METADATA_TRUST_CHECK char(1);
Original file line number Diff line number Diff line change
@@ -1 +1 @@
alter table SAMLADDON_KEY_STORE add column KEYSTORE_PASSWORD varchar2(100) ;
alter table SAMLADDON_KEY_STORE add KEYSTORE_PASSWORD varchar2(100) ;

0 comments on commit dc96595

Please sign in to comment.