Skip to content

Commit

Permalink
consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen committed Sep 28, 2023
1 parent af59156 commit 75e6597
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/migration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ type FlywayConfiguration struct {
// The flyway actions to apply, like "info", "migrate"
// See https://documentation.red-gate.com/fd/commands-184127446.html
// +kubebuilder:default={"info", "migrate", "info"}
Commands []string `json:"commandLines"`
Commands []string `json:"commands"`

// The default flyway schema to use.
// See https://documentation.red-gate.com/fd/default-schema-184127496.html
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/flyway.davidkarlsen.com_migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ spec:
DefaultSchema:
description: The default flyway schema to use. See https://documentation.red-gate.com/fd/default-schema-184127496.html
type: string
commandLines:
commands:
default:
- info
- migrate
Expand All @@ -89,7 +89,7 @@ spec:
description: Reference to the flyway image to use.
type: string
required:
- commandLines
- commands
type: object
migrationSource:
description: settings defining the SQL migrations
Expand Down

0 comments on commit 75e6597

Please sign in to comment.