Skip to content

Commit

Permalink
fix(dashboards): use v7 uuid for primary key (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper authored May 1, 2024
1 parent b55aa2b commit 33155bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/types/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var (
type (
// Dashboard is the database representation of a dashboard.
Dashboard struct {
ID uuid.UUID `gorm:"type:uuid;default:uuid_generate_v4()"`
ID uuid.UUID `gorm:"type:uuid;default:uuid_generate_v7()"`
Name sql.NullString `sql:"name"`
CreatedAt sql.NullInt64 `sql:"created_at"`
CreatedBy sql.NullString `sql:"created_by"`
Expand Down

0 comments on commit 33155bf

Please sign in to comment.