mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Add support for Postgres range partition DDL plus refactor xsd definitions that had got out of sync (#1465)
* Add partition meta mapping * Fix to allow schema prefix on select dynamic formula * Add partition meta mapping * Migration XSD Update * Fix to allow schema prefix on select dynamic formula * Bump ebean-migration to 11.8.1
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package io.ebeaninternal.server.deploy;
|
||||
|
||||
import io.ebean.annotation.PartitionMode;
|
||||
|
||||
public class PartitionMeta {
|
||||
|
||||
private final PartitionMode mode;
|
||||
|
||||
private String property;
|
||||
|
||||
public PartitionMeta(PartitionMode mode, String property) {
|
||||
this.mode = mode;
|
||||
this.property = property;
|
||||
}
|
||||
|
||||
public PartitionMode getMode() {
|
||||
return mode;
|
||||
}
|
||||
|
||||
public String getProperty() {
|
||||
return property;
|
||||
}
|
||||
|
||||
public void setProperty(String dbColumn) {
|
||||
this.property = dbColumn;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user