mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Update for pg - Internal changes for DB Migration / DDL generation #369
This commit is contained in:
@@ -13,7 +13,12 @@ public class TestSelfRefExample extends BaseTestCase {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
|
||||
|
||||
if (Ebean.find(SelfRefExample.class).findRowCount() > 0) {
|
||||
// skip test when running multiple times (non memory only db testing)
|
||||
return;
|
||||
}
|
||||
|
||||
SelfRefExample e1 = new SelfRefExample("test1", null);
|
||||
SelfRefExample e2 = new SelfRefExample("test1", e1);
|
||||
SelfRefExample e3 = new SelfRefExample("test2", e2);
|
||||
|
||||
Reference in New Issue
Block a user