Skip to content

Commit

Permalink
feat: updated database model
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Sep 23, 2024
1 parent a3e1751 commit 204021d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/entity/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 204021d

Please sign in to comment.