mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
again some platform fixes
This commit is contained in:
@@ -18,7 +18,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
public class DbMigrationTest extends BaseTestCase {
|
||||
|
||||
private void runScript(String scriptName) throws IOException {
|
||||
URL url = getClass().getResource("/migrationtest/dbmigration/" + server().platform().base().name().toLowerCase() + "/" + scriptName);
|
||||
URL url = getClass().getResource("/migrationtest/dbmigration/" + server().platform().name().toLowerCase() + "/" + scriptName);
|
||||
assert url != null : scriptName + " not found";
|
||||
server().script().run(url);
|
||||
}
|
||||
|
||||
@@ -214,9 +214,9 @@ ebean.migrationtest.migration.run=false
|
||||
ebean.migrationtest.migration.includeIndex=true
|
||||
ebean.migrationtest.migration.generateInit=true
|
||||
ebean.migrationtest.migration.generatePendingDrop=auto
|
||||
ebean.migrationtest.migration.platforms=db2luw,h2,hsqldb,mysql,mysql55,postgres,oracle,sqlite,sqlserver17,hana
|
||||
migration.migrationtest.db2luw.prefix=db2
|
||||
migration.migrationtest.sqlserver17.prefix=sqlserver
|
||||
ebean.migrationtest.migration.platforms=db2luw,h2,hsqldb,mysql,mysql55,postgres,oracle,sqlite,sqlserver17,hana
|
||||
#migration.migrationtest.db2luw.prefix=db2
|
||||
#migration.migrationtest.sqlserver17.prefix=sqlserver
|
||||
|
||||
|
||||
# need to generate unique statements to prevent them from being filtered out as duplicates by the DdlRunner
|
||||
@@ -244,5 +244,6 @@ ebean.db2-migration.ddl.generate=false
|
||||
ebean.db2-migration.ddl.run=false
|
||||
ebean.db2-migration.migration.run=true
|
||||
ebean.db2-migration.databasePlatformName=db2luw
|
||||
ebean.db2-migration.migration.migrationPath=migrationtest/dbmigration
|
||||
ebean.db2-migration.migration.migrationInitPath=migrationtest/dbinit
|
||||
# workaround for https://github.com/ebean-orm/ebean-migration/issues/102
|
||||
ebean.db2-migration.migration.migrationPath=migrationtest/dbmigration/db2
|
||||
ebean.db2-migration.migration.migrationInitPath=migrationtest/dbinit/db2
|
||||
Reference in New Issue
Block a user