mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1782 - ENH: Add truncate(Class<?>... types) and truncate(String... tables)
Remove truncateTableBefore and truncateTableAfter for now
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
package main;
|
||||
|
||||
import io.ebean.docker.commands.CockroachConfig;
|
||||
import io.ebean.docker.commands.CockroachContainer;
|
||||
//import io.ebean.docker.commands.CockroachConfig;
|
||||
//import io.ebean.docker.commands.CockroachContainer;
|
||||
|
||||
public class StartCockroach {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
CockroachConfig config = new CockroachConfig();
|
||||
config.setDbName("unit");
|
||||
|
||||
CockroachContainer container = new CockroachContainer(config);
|
||||
container.startWithDropCreate();
|
||||
// CockroachConfig config = new CockroachConfig();
|
||||
// config.setDbName("unit");
|
||||
//
|
||||
// CockroachContainer container = new CockroachContainer(config);
|
||||
// container.startWithDropCreate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user