Skip to content

Commit

Permalink
feat: upgrade frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
naiba committed Dec 22, 2024
1 parent a9768aa commit 4952151
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions model/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ type Common struct {
ID uint64 `gorm:"primaryKey" json:"id,omitempty"`
CreatedAt time.Time `gorm:"index;<-:create" json:"created_at,omitempty"`
UpdatedAt time.Time `gorm:"autoUpdateTime" json:"updated_at,omitempty"`
// Do not use soft deletion
// DeletedAt gorm.DeletedAt `gorm:"index" json:"deleted_at,omitempty"`

UserID uint64 `json:"-"`
UserID uint64 `gorm:"index;default:0" json:"-"`
}

func (c *Common) GetID() uint64 {
Expand Down
2 changes: 1 addition & 1 deletion service/singleton/frontend-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: "OfficialAdmin"
repository: "https://github.com/nezhahq/admin-frontend"
author: "nezhahq"
version: "v1.3.0"
version: "v1.4.0"
isadmin: true
isofficial: true
- path: "user-dist"
Expand Down

0 comments on commit 4952151

Please sign in to comment.