Skip to content

Commit

Permalink
fixed the type of NotificationType.Confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Oct 22, 2023
1 parent 3034ab1 commit 77f8104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/model/notification_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ var (
type NotificationType struct {
Type int64 `gorm:"primary_key;AUTO_INCREMENT;column:type;type:int;" json:"type"`
Name string `gorm:"column:name;type:text;size:65535;" json:"name"`
Confirmation string `gorm:"column:confirmation;type:char;size:5;default:false;" json:"confirmation"`
Confirmation string `gorm:"column:confirmation;type:enum('true', 'false');default:'false';" json:"confirmation"`
}

0 comments on commit 77f8104

Please sign in to comment.