tech(alerting): remove frequency from alert model

This commit is contained in:
bergquist
2016-06-13 10:42:36 +02:00
parent 94f059838c
commit 1e41eb8c97
2 changed files with 0 additions and 2 deletions

View File

@ -16,7 +16,6 @@ type Alert struct {
State string
Scheduler int64
Enabled bool
Frequency int
Created time.Time
Updated time.Time

View File

@ -18,7 +18,6 @@ func addAlertMigrations(mg *Migrator) {
{Name: "state", Type: DB_NVarchar, Length: 255, Nullable: false},
{Name: "expression", Type: DB_Text, Nullable: false},
{Name: "scheduler", Type: DB_BigInt, Nullable: false},
{Name: "frequency", Type: DB_BigInt, Nullable: false},
{Name: "enabled", Type: DB_Bool, Nullable: false},
{Name: "created", Type: DB_DateTime, Nullable: false},
{Name: "updated", Type: DB_DateTime, Nullable: false},