mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-13 20:53:49 +08:00
feat 调整 mysql 、pgsql 初始化数据; 完善pgsql 兼容性,适配代码生成逻辑
This commit is contained in:
@@ -11,6 +11,7 @@ export class State {
|
||||
(eq .DataType "json")
|
||||
(eq .DataType "date")
|
||||
(eq .DataType "datetime")
|
||||
(eq .DataType "TIMESTAMP")
|
||||
)}'@{.DefaultValue}'@{else}@{.DefaultValue}@{end};//@{.Dc}@{end}
|
||||
constructor(state?: Partial<State>) {
|
||||
if (state) {
|
||||
|
||||
Reference in New Issue
Block a user