mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
Merge branch 'api-to-run-ddl-manually' into ebean-new
# Conflicts: # ebean-api/src/main/java/io/ebean/Database.java # ebean-core/src/main/java/io/ebeaninternal/server/core/DefaultServer.java # ebean-ddl-generator/src/main/java/io/ebeaninternal/dbmigration/DdlGenerator.java
This commit is contained in:
commit
39140ae3dc
6 files changed
+157
-87
No files matched your search
@@ -387,6 +387,8 @@ public final class DefaultServer implements SpiServer, SpiEbeanServer {
|
||||
if (config.isRunMigration()) {
|
||||
runMigration();
|
||||
}
|
||||
} else if (config.isDdlRun() || config.isRunMigration()) {
|
||||
log.warn("There was a request to run DDL or migration, but this is currently not possible, as the database is not available");
|
||||
}
|
||||
startQueryPlanCapture();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user