pull/120/head
Hunter Long 2019-01-03 16:49:10 -08:00
parent c90bc93049
commit 6120c273d4
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
// Code generated by go generate; DO NOT EDIT.
// This file was generated by robots at
// 2019-01-03 13:55:35.224765 -0800 PST m=+0.695466687
// 2019-01-03 15:06:10.49374 -0800 PST m=+1.168477687
//
// This contains the most recently Markdown source for the Statping Wiki.
package source

View File

@ -6,7 +6,7 @@ import "time"
type Group struct {
Id int64 `gorm:"primary_key;column:id" json:"id"`
Name string `gorm:"column:name" json:"name"`
Public NullBool `gorm:"default:false;column:public" json:"public"`
Public NullBool `gorm:"default:true;column:public" json:"public"`
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
}

View File

@ -33,8 +33,8 @@ type Service struct {
Port int `gorm:"not null;column:port" json:"port"`
Timeout int `gorm:"default:30;column:timeout" json:"timeout"`
Order int `gorm:"default:0;column:order_id" json:"order_id"`
AllowNotifications NullBool `gorm:"default:false;column:allow_notifications" json:"allow_notifications"`
Public NullBool `gorm:"default:false;column:public" json:"public"`
AllowNotifications NullBool `gorm:"default:true;column:allow_notifications" json:"allow_notifications"`
Public NullBool `gorm:"default:true;column:public" json:"public"`
GroupId int `gorm:"default:0;column:group_id" json:"group_id"`
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`

View File

@ -1 +1 @@
0.80.33
0.80.34