Skip to content

Commit

Permalink
Update migrations.go
Browse files Browse the repository at this point in the history
fix mysql PrimaryKey  grafana#12971
  • Loading branch information
double-yaya committed Mar 3, 2023
1 parent 8ea71d3 commit bab3839
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -154,6 +154,7 @@ func AddMigration(mg *migrator.Migrator) {
seedAssignmentV1 := migrator.Table{
Name: "seed_assignment",
Columns: []*migrator.Column{
{Name: "id", Type: migrator.DB_BigInt, IsPrimaryKey: true, IsAutoIncrement: true},
{Name: "builtin_role", Type: migrator.DB_NVarchar, Length: 190, Nullable: false},
{Name: "role_name", Type: migrator.DB_NVarchar, Length: 190, Nullable: false},
},
Expand Down

0 comments on commit bab3839

Please sign in to comment.