mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Move database configuration scripts.
This commit is contained in:
parent
52efdf729b
commit
0e5592a0d3
@ -13,6 +13,7 @@ activation_code BIGINT NOT NULL,
|
|||||||
activation_date DATE,
|
activation_date DATE,
|
||||||
allow_send_email CHAR(1) NOT NULL,
|
allow_send_email CHAR(1) NOT NULL,
|
||||||
locale varchar(5),
|
locale varchar(5),
|
||||||
|
auth_schema INTEGER NOT NULL,
|
||||||
FOREIGN KEY(colaborator_id) REFERENCES COLLABORATOR(id)
|
FOREIGN KEY(colaborator_id) REFERENCES COLLABORATOR(id)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -70,4 +71,3 @@ login_date date
|
|||||||
);
|
);
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
SHUTDOWN;
|
|
@ -7,4 +7,3 @@ DROP TABLE MINDMAP;
|
|||||||
DROP TABLE USER;
|
DROP TABLE USER;
|
||||||
DROP TABLE COLLABORATOR;
|
DROP TABLE COLLABORATOR;
|
||||||
COMMIT;
|
COMMIT;
|
||||||
SHUTDOWN;
|
|
@ -83,6 +83,12 @@
|
|||||||
<version>${org.springframework.version}</version>
|
<version>${org.springframework.version}</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.security</groupId>
|
||||||
|
<artifactId>spring-security-openid</artifactId>
|
||||||
|
<version>${org.springframework.version}</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework</groupId>
|
<groupId>org.springframework</groupId>
|
||||||
<artifactId>spring-beans</artifactId>
|
<artifactId>spring-beans</artifactId>
|
||||||
@ -343,50 +349,19 @@
|
|||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>drop-schemas</id>
|
<id>drop-schemas</id>
|
||||||
<phase>test</phase>
|
<phase>prepare-package</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>execute</goal>
|
<goal>execute</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<onError>continue</onError>
|
<onError>continue</onError>
|
||||||
<orderFile>ascending</orderFile>
|
<orderFile>descending</orderFile>
|
||||||
<fileset>
|
<fileset>
|
||||||
<basedir>${project.basedir}</basedir>
|
<basedir>${project.basedir}</basedir>
|
||||||
<includes>
|
<includes>
|
||||||
<include>src/test/sql/hsql/drop-schemas.sql</include>
|
<include>config/database/hsql/drop-schemas.sql</include>
|
||||||
</includes>
|
<include>config/database/hsql/create-schemas.sql</include>
|
||||||
</fileset>
|
<include>config/database/hsql/test-data.sql</include>
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
|
|
||||||
<execution>
|
|
||||||
<id>create-schema</id>
|
|
||||||
<phase>test</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>execute</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<orderFile>ascending</orderFile>
|
|
||||||
<fileset>
|
|
||||||
<basedir>${project.basedir}</basedir>
|
|
||||||
<includes>
|
|
||||||
<include>src/test/sql/hsql/create-schemas.sql</include>
|
|
||||||
</includes>
|
|
||||||
</fileset>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>create-data</id>
|
|
||||||
<phase>test</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>execute</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<orderFile>ascending</orderFile>
|
|
||||||
<fileset>
|
|
||||||
<basedir>${project.basedir}</basedir>
|
|
||||||
<includes>
|
|
||||||
<include>src/test/sql/hsql/test-data.sql</include>
|
|
||||||
</includes>
|
</includes>
|
||||||
</fileset>
|
</fileset>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -410,8 +385,6 @@
|
|||||||
</includes>
|
</includes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-war-plugin</artifactId>
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
<version>2.1.1</version>
|
<version>2.1.1</version>
|
||||||
|
Loading…
Reference in New Issue
Block a user