将字段默认值选项改为后端传递。

This commit is contained in:
tmlx1990
2023-11-13 18:23:41 +08:00
committed by yanxin
parent 811bb2be03
commit a0187de02d
9 changed files with 93 additions and 20 deletions

View File

@ -0,0 +1,12 @@
package ai.chat2db.spi.model;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class DefaultValue {
private String defaultValue;
}

View File

@ -19,4 +19,6 @@ public class TableMeta {
private List<IndexType> indexTypes;
private List<DefaultValue> defaultValues;
}