feat: added index operations for mysql service

This commit is contained in:
Marvin Zhang
2024-09-04 17:07:32 +08:00
parent f566689738
commit aa0cb96936

View File

@@ -19,7 +19,7 @@ type DatabaseColumn struct {
Name string `json:"name"`
Type string `json:"type"`
PrimaryKey bool `json:"primary_key,omitempty"`
Null bool `json:"null"`
NotNull bool `json:"not_null"`
Key string `json:"key,omitempty"`
Default string `json:"default"`
Extra string `json:"extra,omitempty"`