diff --git a/pkg/services/sqlstore/migrations/entity_events_mig.go b/pkg/services/sqlstore/migrations/entity_events_mig.go index cbbcf7632f2..91934c8cb4e 100644 --- a/pkg/services/sqlstore/migrations/entity_events_mig.go +++ b/pkg/services/sqlstore/migrations/entity_events_mig.go @@ -9,7 +9,7 @@ func addEntityEventsTableMigration(mg *Migrator) { {Name: "id", Type: DB_BigInt, Nullable: false, IsPrimaryKey: true, IsAutoIncrement: true}, {Name: "grn", Type: DB_NVarchar, Length: 1024, Nullable: false}, {Name: "event_type", Type: DB_NVarchar, Length: 8, Nullable: false}, - {Name: "created", Type: DB_DateTime, Nullable: false}, + {Name: "created", Type: DB_BigInt, Nullable: false}, }, Indices: []*Index{}, }