diff --git a/pkg/migrations/types.go b/pkg/migrations/types.go index 106d45a1..4d4214ea 100644 --- a/pkg/migrations/types.go +++ b/pkg/migrations/types.go @@ -192,9 +192,13 @@ type PgRollMigration struct { Name string `json:"name"` // Operations corresponds to the JSON schema field "operations". - Operations []interface{} `json:"operations"` + Operations PgRollOperations `json:"operations"` } +type PgRollOperation interface{} + +type PgRollOperations []interface{} + // Replica identity definition type ReplicaIdentity struct { // Name of the index to use as replica identity