Skip to content

Commit c67f158

Browse files
committed
bump to version 1.8.1
1 parent 743b33e commit c67f158

File tree

9 files changed

+16
-32
lines changed

9 files changed

+16
-32
lines changed

.github/workflows/dbtool.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
CTSMS_PROPERTIES=/ctsms/properties
3-
$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 $*
3+
$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 $*

common/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.phoenixctms.ctsms</groupId>
77
<artifactId>ctsms</artifactId>
8-
<version>1.8.0</version>
8+
<version>1.8.1</version>
99
</parent>
1010
<artifactId>ctsms-common</artifactId>
1111
<packaging>jar</packaging>

core/db/schema-set-version.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ begin
1111
end
1212
$$ language plpgsql;
1313

14-
select set_database_version('010800011');
14+
select set_database_version('010801000');

core/db/schema-up-181.sql

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
alter table PASSWORD add column ENABLE2FA BOOLEAN;
3+
update PASSWORD set ENABLE2FA = 'f';
4+
alter table PASSWORD alter ENABLE2FA set not null;
5+
6+
alter table PASSWORD add column SHOW_OTP_REGISTRATION_INFO BOOLEAN;
7+
update PASSWORD set SHOW_OTP_REGISTRATION_INFO = 'f';
8+
alter table PASSWORD alter SHOW_OTP_REGISTRATION_INFO set not null;

core/db/schema-up-master.sql

-24
Original file line numberDiff line numberDiff line change
@@ -1,24 +0,0 @@
1-
do
2-
$$
3-
begin
4-
5-
if get_database_version() < '010800001' then
6-
7-
alter table PASSWORD add column ENABLE2FA BOOLEAN;
8-
update PASSWORD set ENABLE2FA = 'f';
9-
alter table PASSWORD alter ENABLE2FA set not null;
10-
11-
select set_database_version('010800001');
12-
end if;
13-
14-
if get_database_version() < '010800011' then
15-
16-
alter table PASSWORD add column SHOW_OTP_REGISTRATION_INFO BOOLEAN;
17-
update PASSWORD set SHOW_OTP_REGISTRATION_INFO = 'f';
18-
alter table PASSWORD alter SHOW_OTP_REGISTRATION_INFO set not null;
19-
20-
select set_database_version('010800011');
21-
end if;
22-
23-
end
24-
$$;

core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.phoenixctms.ctsms</groupId>
77
<artifactId>ctsms</artifactId>
8-
<version>1.8.0</version>
8+
<version>1.8.1</version>
99
</parent>
1010
<artifactId>ctsms-core</artifactId>
1111
<packaging>jar</packaging>

mda/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>org.phoenixctms.ctsms</groupId>
1010
<artifactId>ctsms</artifactId>
11-
<version>1.8.0</version>
11+
<version>1.8.1</version>
1212
</parent>
1313
<artifactId>ctsms-mda</artifactId>
1414
<packaging>pom</packaging>

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>org.phoenixctms.ctsms</groupId>
88
<artifactId>ctsms</artifactId>
99
<packaging>pom</packaging>
10-
<version>1.8.0</version>
10+
<version>1.8.1</version>
1111
<name>Clinical Trial Site Management System</name>
1212
<description>The Clinical Trial Site Management System Project.</description>
1313
<scm>
@@ -597,7 +597,7 @@
597597
<application.id>ctsms</application.id>
598598
<application.package>org.phoenixctms.ctsms</application.package>
599599
<application.name>Phoenix Clinical Trial Management System</application.name>
600-
<application.version>1.8.0</application.version>
600+
<application.version>1.8.1</application.version>
601601
<application.abbreviation>Phoenix CTMS</application.abbreviation>
602602
<dataSource.name>jdbc/${application.id}</dataSource.name>
603603
<dataSource>java:comp/env/${dataSource.name}</dataSource>

web/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.phoenixctms.ctsms</groupId>
88
<artifactId>ctsms</artifactId>
9-
<version>1.8.0</version>
9+
<version>1.8.1</version>
1010
</parent>
1111
<artifactId>ctsms-web</artifactId>
1212
<packaging>war</packaging>

0 commit comments

Comments
 (0)