|
@@ -13,9 +13,9 @@ func addAlertMigrations(mg *Migrator) {
|
|
|
{Name: "panel_id", Type: DB_BigInt, Nullable: false},
|
|
{Name: "panel_id", Type: DB_BigInt, Nullable: false},
|
|
|
{Name: "query", Type: DB_Text, Nullable: false},
|
|
{Name: "query", Type: DB_Text, Nullable: false},
|
|
|
{Name: "query_ref_id", Type: DB_NVarchar, Length: 255, Nullable: false},
|
|
{Name: "query_ref_id", Type: DB_NVarchar, Length: 255, Nullable: false},
|
|
|
- {Name: "warn_level", Type: DB_BigInt, Length: 255, Nullable: false},
|
|
|
|
|
- {Name: "error_level", Type: DB_BigInt, Length: 255, Nullable: false},
|
|
|
|
|
- {Name: "interval", Type: DB_BigInt, Length: 255, Nullable: false},
|
|
|
|
|
|
|
+ {Name: "warn_level", Type: DB_BigInt, Nullable: false},
|
|
|
|
|
+ {Name: "error_level", Type: DB_BigInt, Nullable: false},
|
|
|
|
|
+ {Name: "interval", Type: DB_BigInt, Nullable: false},
|
|
|
{Name: "title", Type: DB_NVarchar, Length: 255, Nullable: false},
|
|
{Name: "title", Type: DB_NVarchar, Length: 255, Nullable: false},
|
|
|
{Name: "description", Type: DB_NVarchar, Length: 255, Nullable: false},
|
|
{Name: "description", Type: DB_NVarchar, Length: 255, Nullable: false},
|
|
|
{Name: "query_range", Type: DB_NVarchar, Length: 255, Nullable: false},
|
|
{Name: "query_range", Type: DB_NVarchar, Length: 255, Nullable: false},
|