
---
apiVersion: dbaoperator.app-sre.redhat.com/v1alpha1
kind: DatabaseMigration
metadata:
  name: 61cadbacb9fc
spec:
  migrationContainerSpec:
    command:
    - /quay-registry/quay-entrypoint.sh
    - migrate
    - 61cadbacb9fc
    image: quay.io/quay/quay
    name: 61cadbacb9fc
  previous: b4c2d45bc132
  schemaHints:
  - columns:
    - name: id
      nullable: false
    - name: name
      nullable: false
    operation: createTable
    table: disablereason
  - columns: []
    indexName: disablereason_name
    indexType: unique
    operation: createIndex
    table: disablereason
  - columns:
    - name: disabled_reason_id
      nullable: true
    operation: addColumn
    table: !!python/unicode 'repositorybuildtrigger'
  - columns:
    - name: enabled
      nullable: false
    operation: addColumn
    table: !!python/unicode 'repositorybuildtrigger'
  - columns: []
    indexName: repositorybuildtrigger_disabled_reason_id
    indexType: index
    operation: createIndex
    table: repositorybuildtrigger
