
---
apiVersion: dbaoperator.app-sre.redhat.com/v1alpha1
kind: DatabaseMigration
metadata:
  name: 610320e9dacf
spec:
  migrationContainerSpec:
    command:
    - /quay-registry/quay-entrypoint.sh
    - migrate
    - 610320e9dacf
    image: quay.io/quay/quay
    name: 610320e9dacf
  previous: 5cbbfc95bac7
  schemaHints:
  - columns:
    - name: id
      nullable: false
    - name: name
      nullable: false
    operation: createTable
    table: apprblobplacementlocation
  - columns: []
    indexName: apprblobplacementlocation_name
    indexType: unique
    operation: createIndex
    table: apprblobplacementlocation
  - columns:
    - name: id
      nullable: false
    - name: name
      nullable: false
    operation: createTable
    table: apprtagkind
  - columns: []
    indexName: apprtagkind_name
    indexType: unique
    operation: createIndex
    table: apprtagkind
  - columns:
    - name: id
      nullable: false
    - name: digest
      nullable: false
    - name: media_type_id
      nullable: false
    - name: size
      nullable: false
    - name: uncompressed_size
      nullable: true
    operation: createTable
    table: apprblob
  - columns: []
    indexName: apprblob_digest
    indexType: unique
    operation: createIndex
    table: apprblob
  - columns: []
    indexName: apprblob_media_type_id
    indexType: index
    operation: createIndex
    table: apprblob
  - columns:
    - name: id
      nullable: false
    - name: digest
      nullable: false
    - name: media_type_id
      nullable: false
    - name: manifest_json
      nullable: false
    operation: createTable
    table: apprmanifest
  - columns: []
    indexName: apprmanifest_digest
    indexType: unique
    operation: createIndex
    table: apprmanifest
  - columns: []
    indexName: apprmanifest_media_type_id
    indexType: index
    operation: createIndex
    table: apprmanifest
  - columns:
    - name: id
      nullable: false
    - name: digest
      nullable: false
    - name: manifest_list_json
      nullable: false
    - name: schema_version
      nullable: false
    - name: media_type_id
      nullable: false
    operation: createTable
    table: apprmanifestlist
  - columns: []
    indexName: apprmanifestlist_digest
    indexType: unique
    operation: createIndex
    table: apprmanifestlist
  - columns: []
    indexName: apprmanifestlist_media_type_id
    indexType: index
    operation: createIndex
    table: apprmanifestlist
  - columns:
    - name: id
      nullable: false
    - name: blob_id
      nullable: false
    - name: location_id
      nullable: false
    operation: createTable
    table: apprblobplacement
  - columns: []
    indexName: apprblobplacement_blob_id
    indexType: index
    operation: createIndex
    table: apprblobplacement
  - columns: []
    indexName: apprblobplacement_blob_id_location_id
    indexType: unique
    operation: createIndex
    table: apprblobplacement
  - columns: []
    indexName: apprblobplacement_location_id
    indexType: index
    operation: createIndex
    table: apprblobplacement
  - columns:
    - name: id
      nullable: false
    - name: manifest_id
      nullable: false
    - name: blob_id
      nullable: false
    operation: createTable
    table: apprmanifestblob
  - columns: []
    indexName: apprmanifestblob_blob_id
    indexType: index
    operation: createIndex
    table: apprmanifestblob
  - columns: []
    indexName: apprmanifestblob_manifest_id
    indexType: index
    operation: createIndex
    table: apprmanifestblob
  - columns: []
    indexName: apprmanifestblob_manifest_id_blob_id
    indexType: unique
    operation: createIndex
    table: apprmanifestblob
  - columns:
    - name: id
      nullable: false
    - name: manifest_list_id
      nullable: false
    - name: manifest_id
      nullable: false
    - name: operating_system
      nullable: true
    - name: architecture
      nullable: true
    - name: platform_json
      nullable: true
    - name: media_type_id
      nullable: false
    operation: createTable
    table: apprmanifestlistmanifest
  - columns: []
    indexName: apprmanifestlistmanifest_manifest_id
    indexType: index
    operation: createIndex
    table: apprmanifestlistmanifest
  - columns: []
    indexName: apprmanifestlistmanifest_manifest_list_id
    indexType: index
    operation: createIndex
    table: apprmanifestlistmanifest
  - columns: []
    indexName: apprmanifestlistmanifest_manifest_list_id_media_type_id
    indexType: index
    operation: createIndex
    table: apprmanifestlistmanifest
  - columns: []
    indexName: apprmanifestlistmanifest_manifest_list_id_operating_system_arch
    indexType: index
    operation: createIndex
    table: apprmanifestlistmanifest
  - columns: []
    indexName: apprmanifestlistmanifest_media_type_id
    indexType: index
    operation: createIndex
    table: apprmanifestlistmanifest
  - columns:
    - name: id
      nullable: false
    - name: name
      nullable: false
    - name: repository_id
      nullable: false
    - name: manifest_list_id
      nullable: true
    - name: lifetime_start
      nullable: false
    - name: lifetime_end
      nullable: true
    - name: hidden
      nullable: false
    - name: reverted
      nullable: false
    - name: protected
      nullable: false
    - name: tag_kind_id
      nullable: false
    - name: linked_tag_id
      nullable: true
    operation: createTable
    table: apprtag
  - columns: []
    indexName: apprtag_lifetime_end
    indexType: index
    operation: createIndex
    table: apprtag
  - columns: []
    indexName: apprtag_linked_tag_id
    indexType: index
    operation: createIndex
    table: apprtag
  - columns: []
    indexName: apprtag_manifest_list_id
    indexType: index
    operation: createIndex
    table: apprtag
  - columns: []
    indexName: apprtag_repository_id
    indexType: index
    operation: createIndex
    table: apprtag
  - columns: []
    indexName: apprtag_repository_id_name
    indexType: index
    operation: createIndex
    table: apprtag
  - columns: []
    indexName: apprtag_repository_id_name_hidden
    indexType: index
    operation: createIndex
    table: apprtag
  - columns: []
    indexName: apprtag_repository_id_name_lifetime_end
    indexType: unique
    operation: createIndex
    table: apprtag
  - columns: []
    indexName: apprtag_tag_kind_id
    indexType: index
    operation: createIndex
    table: apprtag
