feat(alerting): saves new state when alert updates

This commit is contained in:
bergquist
2016-06-28 23:40:58 +02:00
parent 5a65dc5d23
commit 4fc16c36ed
5 changed files with 72 additions and 25 deletions
@@ -36,6 +36,8 @@ func addAlertMigrations(mg *Migrator) {
{Name: "org_id", Type: DB_BigInt, Nullable: false},
{Name: "type", Type: DB_NVarchar, Length: 50, Nullable: false},
{Name: "created", Type: DB_DateTime, Nullable: false},
{Name: "updated_by", Type: DB_BigInt, Nullable: false},
{Name: "new_alert_settings", Type: DB_Text, Nullable: false},
},
}