feat: updated database model

This commit is contained in:
Marvin Zhang
2024-09-23 15:33:26 +08:00
parent a3e1751eef
commit 204021d962

View File

@@ -18,7 +18,7 @@ type DatabaseTable struct {
type DatabaseColumn struct {
Name string `json:"name"`
Type string `json:"type"`
PrimaryKey bool `json:"primary_key,omitempty"`
Primary bool `json:"primary,omitempty"`
NotNull bool `json:"not_null"`
Key string `json:"key,omitempty"`
Default string `json:"default"`