-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
16 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
CTSMS_PROPERTIES=/ctsms/properties | ||
$JAVA_HOME/bin/java -DCTSMS_PROPERTIES="$CTSMS_PROPERTIES" -DCTSMS_JAVA="$CTSMS_JAVA" -Dfile.encoding=Cp1252 -Djava.awt.headless=true -classpath /home/runner/work/ctsms/ctsms/web/target/ctsms-1.7.0/WEB-INF/lib/ctsms-core-1.7.0.jar:/home/runner/work/ctsms/ctsms/web/target/ctsms-1.8.0/WEB-INF/lib/* org.phoenixctms.ctsms.executable.DBTool $* | ||
$JAVA_HOME/bin/java -DCTSMS_PROPERTIES="$CTSMS_PROPERTIES" -DCTSMS_JAVA="$CTSMS_JAVA" -Dfile.encoding=Cp1252 -Djava.awt.headless=true -classpath /home/runner/work/ctsms/ctsms/web/target/ctsms-1.7.0/WEB-INF/lib/ctsms-core-1.8.1.jar:/home/runner/work/ctsms/ctsms/web/target/ctsms-1.8.1/WEB-INF/lib/* org.phoenixctms.ctsms.executable.DBTool $* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
alter table PASSWORD add column ENABLE2FA BOOLEAN; | ||
update PASSWORD set ENABLE2FA = 'f'; | ||
alter table PASSWORD alter ENABLE2FA set not null; | ||
|
||
alter table PASSWORD add column SHOW_OTP_REGISTRATION_INFO BOOLEAN; | ||
update PASSWORD set SHOW_OTP_REGISTRATION_INFO = 'f'; | ||
alter table PASSWORD alter SHOW_OTP_REGISTRATION_INFO set not null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +0,0 @@ | ||
do | ||
$$ | ||
begin | ||
|
||
if get_database_version() < '010800001' then | ||
|
||
alter table PASSWORD add column ENABLE2FA BOOLEAN; | ||
update PASSWORD set ENABLE2FA = 'f'; | ||
alter table PASSWORD alter ENABLE2FA set not null; | ||
|
||
select set_database_version('010800001'); | ||
end if; | ||
|
||
if get_database_version() < '010800011' then | ||
|
||
alter table PASSWORD add column SHOW_OTP_REGISTRATION_INFO BOOLEAN; | ||
update PASSWORD set SHOW_OTP_REGISTRATION_INFO = 'f'; | ||
alter table PASSWORD alter SHOW_OTP_REGISTRATION_INFO set not null; | ||
|
||
select set_database_version('010800011'); | ||
end if; | ||
|
||
end | ||
$$; | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters