Skip to content

Commit 61243e5

Browse files
committed
fix schema
1 parent 23b1f44 commit 61243e5

File tree

1 file changed

+2
-2
lines changed
  • springboot-starter-persistence/src/main/java/com/codingapi/springboot/persistence/schema

1 file changed

+2
-2
lines changed

springboot-starter-persistence/src/main/java/com/codingapi/springboot/persistence/schema/Schema.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ public Schema(Class<?> domainClass) {
1717
log.info("Schema init:{}", domainClass);
1818
this.domainClass = domainClass;
1919
this.schemaProperty = new SchemaProperty(domainClass);
20-
this.check();
20+
this.verify();
2121
}
2222

23-
public void check() {
23+
public void verify() {
2424
if (!this.schemaProperty.hasIdProperty()) {
2525
throw new RuntimeException("schema id property not found");
2626
}

0 commit comments

Comments
 (0)