Skip to content

Commit

Permalink
Correct microcluster schema migration order (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
louiseschmidtgen authored Sep 18, 2024
1 parent e8475bf commit 87eb341
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/k8s/pkg/k8sd/database/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ var (
SchemaExtensions = []schema.Update{
schemaApplyMigration("kubernetes-auth-tokens", "000-create.sql"),
schemaApplyMigration("cluster-configs", "000-create.sql"),

schemaApplyMigration("worker-tokens", "000-create.sql"),
schemaApplyMigration("worker-tokens", "001-add-expiry.sql"),

schemaApplyMigration("feature-status", "000-feature-status.sql"),
schemaApplyMigration("worker-tokens", "001-add-expiry.sql"),
}

//go:embed sql/migrations
Expand Down

0 comments on commit 87eb341

Please sign in to comment.