provisioning: avoid caching and use updated field from db

This commit is contained in:
bergquist
2018-02-09 15:23:38 +01:00
parent 31f3fdcba3
commit 59cd2d5102
6 changed files with 20 additions and 127 deletions
@@ -183,7 +183,7 @@ func addDashboardMigration(mg *Migrator) {
{Name: "dashboard_id", Type: DB_BigInt, Nullable: true},
{Name: "name", Type: DB_NVarchar, Length: 255, Nullable: false},
{Name: "external_id", Type: DB_Text, Nullable: false},
{Name: "updated", Type: DB_Int, Nullable: false},
{Name: "updated", Type: DB_DateTime, Nullable: false},
},
Indices: []*Index{
{Cols: []string{"dashboard_id"}},