mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 14:46:25 +00:00
Move complete
This commit is contained in:
1 parent
bc4713c5fc
commit
582221aa0a
21 files changed
+65
-25
No files matched your search
@@ -0,0 +1,23 @@
|
||||
package io.ebeaninternal.dbmigration;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import io.ebean.DatabaseFactory;
|
||||
import io.ebean.config.DatabaseConfig;
|
||||
|
||||
public class ServerStartTest {
|
||||
|
||||
|
||||
@Test
|
||||
void testServerStartAndMigrate() throws Exception {
|
||||
DatabaseFactory.create("db2-migration").shutdown();
|
||||
}
|
||||
}
|
||||
@@ -210,11 +210,14 @@ ebean.migrationtest.migration.migrationPath=migrationtest/dbmigration
|
||||
ebean.migrationtest.migration.migrationInitPath=migrationtest/dbinit
|
||||
ebean.migrationtest.migration.strict=true
|
||||
ebean.migrationtest.migration.generate=true
|
||||
ebean.migrationtest.migration.run=true
|
||||
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=db2,h2,hsqldb,mysql,mysql55=mysql55,postgres,oracle,sqlite,sqlserver17=sqlserver17,hana
|
||||
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
|
||||
ebean.hana.generateUniqueDdl=true
|
||||
@@ -231,4 +234,15 @@ ebean.migrationtest-history.ddl.header=-- Migrationscripts for ebean unittest Db
|
||||
ebean.migrationtest-history.migration.appName=migrationtest-history
|
||||
ebean.migrationtest-history.migration.migrationPath=migrationtest-history/dbmigration
|
||||
ebean.migrationtest-history.migration.migrationInitPath=migrationtest-history/dbinit
|
||||
ebean.migrationtest-history.migration.strict=true
|
||||
ebean.migrationtest-history.migration.strict=true
|
||||
|
||||
# ServerStartTest - can we run the migrations and do we find the correct ones!
|
||||
datasource.db2-migration.username=unit
|
||||
datasource.db2-migration.password=test
|
||||
datasource.db2-migration.url=jdbc:db2://127.0.0.1:50000/unit
|
||||
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
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user