
---
apiVersion: dbaoperator.app-sre.redhat.com/v1alpha1
kind: DatabaseMigration
metadata:
  name: 9093adccc784
spec:
  migrationContainerSpec:
    command:
    - /quay-registry/quay-entrypoint.sh
    - migrate
    - 9093adccc784
    image: quay.io/quay/quay
    name: 9093adccc784
  previous: 6c21e2cfb8b6
  schemaHints:
  - columns:
    - name: id
      nullable: false
    - name: repository_id
      nullable: false
    - name: digest
      nullable: false
    - name: media_type_id
      nullable: false
    - name: manifest_bytes
      nullable: false
    operation: createTable
    table: manifest
  - columns: []
    indexName: manifest_digest
    indexType: index
    operation: createIndex
    table: manifest
  - columns: []
    indexName: manifest_media_type_id
    indexType: index
    operation: createIndex
    table: manifest
  - columns: []
    indexName: manifest_repository_id
    indexType: index
    operation: createIndex
    table: manifest
  - columns: []
    indexName: manifest_repository_id_digest
    indexType: unique
    operation: createIndex
    table: manifest
  - columns: []
    indexName: manifest_repository_id_media_type_id
    indexType: index
    operation: createIndex
    table: manifest
  - columns:
    - name: id
      nullable: false
    - name: repository_id
      nullable: false
    - name: manifest_id
      nullable: false
    - name: blob_id
      nullable: false
    - name: blob_index
      nullable: false
    operation: createTable
    table: manifestblob
  - columns: []
    indexName: manifestblob_blob_id
    indexType: index
    operation: createIndex
    table: manifestblob
  - columns: []
    indexName: manifestblob_manifest_id
    indexType: index
    operation: createIndex
    table: manifestblob
  - columns: []
    indexName: manifestblob_manifest_id_blob_id
    indexType: unique
    operation: createIndex
    table: manifestblob
  - columns: []
    indexName: manifestblob_manifest_id_blob_index
    indexType: unique
    operation: createIndex
    table: manifestblob
  - columns: []
    indexName: manifestblob_repository_id
    indexType: index
    operation: createIndex
    table: manifestblob
  - columns:
    - name: id
      nullable: false
    - name: repository_id
      nullable: false
    - name: manifest_id
      nullable: false
    - name: label_id
      nullable: false
    operation: createTable
    table: manifestlabel
  - columns: []
    indexName: manifestlabel_label_id
    indexType: index
    operation: createIndex
    table: manifestlabel
  - columns: []
    indexName: manifestlabel_manifest_id
    indexType: index
    operation: createIndex
    table: manifestlabel
  - columns: []
    indexName: manifestlabel_manifest_id_label_id
    indexType: unique
    operation: createIndex
    table: manifestlabel
  - columns: []
    indexName: manifestlabel_repository_id
    indexType: index
    operation: createIndex
    table: manifestlabel
  - columns:
    - name: id
      nullable: false
    - name: repository_id
      nullable: false
    - name: manifest_id
      nullable: false
    - name: image_id
      nullable: false
    operation: createTable
    table: manifestlegacyimage
  - columns: []
    indexName: manifestlegacyimage_image_id
    indexType: index
    operation: createIndex
    table: manifestlegacyimage
  - columns: []
    indexName: manifestlegacyimage_manifest_id
    indexType: unique
    operation: createIndex
    table: manifestlegacyimage
  - columns: []
    indexName: manifestlegacyimage_repository_id
    indexType: index
    operation: createIndex
    table: manifestlegacyimage
  - columns:
    - name: id
      nullable: false
    - name: tag_manifest_id
      nullable: false
    - name: manifest_id
      nullable: false
    - name: broken
      nullable: false
    operation: createTable
    table: tagmanifesttomanifest
  - columns: []
    indexName: tagmanifesttomanifest_broken
    indexType: index
    operation: createIndex
    table: tagmanifesttomanifest
  - columns: []
    indexName: tagmanifesttomanifest_manifest_id
    indexType: unique
    operation: createIndex
    table: tagmanifesttomanifest
  - columns: []
    indexName: tagmanifesttomanifest_tag_manifest_id
    indexType: unique
    operation: createIndex
    table: tagmanifesttomanifest
  - columns:
    - name: id
      nullable: false
    - name: tag_manifest_id
      nullable: false
    - name: manifest_id
      nullable: true
    - name: label_id
      nullable: false
    - name: tag_manifest_label_id
      nullable: false
    - name: manifest_label_id
      nullable: true
    - name: broken_manifest
      nullable: false
    operation: createTable
    table: tagmanifestlabelmap
  - columns: []
    indexName: tagmanifestlabelmap_broken_manifest
    indexType: index
    operation: createIndex
    table: tagmanifestlabelmap
  - columns: []
    indexName: tagmanifestlabelmap_label_id
    indexType: index
    operation: createIndex
    table: tagmanifestlabelmap
  - columns: []
    indexName: tagmanifestlabelmap_manifest_id
    indexType: index
    operation: createIndex
    table: tagmanifestlabelmap
  - columns: []
    indexName: tagmanifestlabelmap_manifest_label_id
    indexType: index
    operation: createIndex
    table: tagmanifestlabelmap
  - columns: []
    indexName: tagmanifestlabelmap_tag_manifest_id
    indexType: index
    operation: createIndex
    table: tagmanifestlabelmap
  - columns: []
    indexName: tagmanifestlabelmap_tag_manifest_label_id
    indexType: index
    operation: createIndex
    table: tagmanifestlabelmap
