feat: updated database services

This commit is contained in:
Marvin Zhang
2024-08-29 17:21:18 +08:00
parent 08d1acb15e
commit a8ab6af7b2

View File

@@ -19,9 +19,9 @@ type DatabaseColumn struct {
Name string `json:"name"` Name string `json:"name"`
Type string `json:"type"` Type string `json:"type"`
PrimaryKey bool `json:"primary_key,omitempty"` PrimaryKey bool `json:"primary_key,omitempty"`
Null bool `json:"null,omitempty"` Null bool `json:"null"`
Key string `json:"key,omitempty"` Key string `json:"key,omitempty"`
Default string `json:"default,omitempty"` Default string `json:"default"`
Extra string `json:"extra,omitempty"` Extra string `json:"extra,omitempty"`
Children []DatabaseColumn `json:"children,omitempty"` Children []DatabaseColumn `json:"children,omitempty"`
Hash string `json:"hash,omitempty"` Hash string `json:"hash,omitempty"`