From a8ab6af7b2e3afcfc1628841768fc5184fbff9d5 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Thu, 29 Aug 2024 17:21:18 +0800 Subject: [PATCH] feat: updated database services --- core/entity/database.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"`