diff --git a/core/entity/database.go b/core/entity/database.go index eccb7d4f..0b9a37d6 100644 --- a/core/entity/database.go +++ b/core/entity/database.go @@ -19,9 +19,9 @@ type DatabaseColumn struct { Name string `json:"name"` Type string `json:"type"` PrimaryKey bool `json:"primary_key,omitempty"` - Null bool `json:"null,omitempty"` + Null bool `json:"null"` Key string `json:"key,omitempty"` - Default string `json:"default,omitempty"` + Default string `json:"default"` Extra string `json:"extra,omitempty"` Children []DatabaseColumn `json:"children,omitempty"` Hash string `json:"hash,omitempty"`