CCM NG: ccm-cms datasets

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5954 8810af33-2d31-482b-a856-94f89814c4df
jensp 2019-04-17 15:40:05 +00:00
parent b19fe3e816
commit 679ae6cc03
4 changed files with 3143 additions and 4 deletions

View File

@ -127,10 +127,10 @@ public class DatasetsTest extends DatasetsVerifier {
@Override
public String[] getDdlFiles() {
return new String[]{
"/sql/ddl/auto/h2.sql"
// "/datasets/h2/001_create_schema.sql",
// "/datasets/h2/002_create_ccm_cms_tables.sql",
// "/datasets/h2/003_init_hibernate_sequence.sql",
// "/sql/ddl/auto/h2.sql"
"/scripts/datasets-test/001_create_schema.sql",
"/scripts/datasets-test/002_create_ccm_cms_tables.sql",
"/scripts/datasets-test/003_init_hibernate_sequence.sql",
};
}

View File

@ -0,0 +1,10 @@
drop schema if exists CCM_CMS;
drop schema if exists CCM_CORE;
drop sequence if exists HIBERNATE_SEQUENCE;
create schema CCM_CMS;
create schema CCM_CORE;

View File

@ -0,0 +1 @@
ALTER SEQUENCE hibernate_sequence RESTART WITH 100000;