mirror of
https://github.com/xataio/pgroll.git
synced 2024-09-11 05:45:48 +03:00
Make name
not required in PgRollMigration
(#282)
Signed-off-by: Alexis Rico <sferadev@gmail.com>
This commit is contained in:
parent
58fa7ae970
commit
6e4ee68310
@ -199,7 +199,7 @@ type OpSetReplicaIdentity struct {
|
||||
// PgRoll migration definition
|
||||
type PgRollMigration struct {
|
||||
// Name of the migration
|
||||
Name string `json:"name"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
|
||||
// Operations corresponds to the JSON schema field "operations".
|
||||
Operations PgRollOperations `json:"operations"`
|
||||
|
@ -517,7 +517,7 @@
|
||||
"$ref": "#/$defs/PgRollOperations"
|
||||
}
|
||||
},
|
||||
"required": ["name", "operations"],
|
||||
"required": ["operations"],
|
||||
"type": "object"
|
||||
},
|
||||
"ReplicaIdentity": {
|
||||
|
Loading…
Reference in New Issue
Block a user