Add new Field to Core Struct

Add Field `UpdateNotify` to `Core` Struct.

This Field shows if the User want that only Updates are send,
or every Status Message.
pull/258/head
Emanuel Bennici 2019-10-04 14:18:57 +02:00
parent 23b6c39623
commit b1bcc67833
No known key found for this signature in database
GPG Key ID: 17FA2D56BAD01661
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ type Core struct {
Version string `gorm:"column:version" json:"version"`
MigrationId int64 `gorm:"column:migration_id" json:"migration_id,omitempty"`
UseCdn NullBool `gorm:"column:use_cdn;default:false" json:"using_cdn,omitempty"`
UpdateNotify NullBool `gorm:"column:update_notify;default:false" json:"update_notify,omitempty"`
Timezone float32 `gorm:"column:timezone;default:-8.0" json:"timezone,omitempty"`
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`