
---
apiVersion: dbaoperator.app-sre.redhat.com/v1alpha1
kind: DatabaseMigration
metadata:
  name: 10f45ee2310b
spec:
  migrationContainerSpec:
    command:
    - /quay-registry/quay-entrypoint.sh
    - migrate
    - 10f45ee2310b
    image: quay.io/quay/quay
    name: 10f45ee2310b
  previous: 13411de1c0ff
  schemaHints:
  - columns:
    - name: id
      nullable: false
    - name: name
      nullable: false
    operation: createTable
    table: tagkind
  - columns: []
    indexName: tagkind_name
    indexType: unique
    operation: createIndex
    table: tagkind
  - columns:
    - name: id
      nullable: false
    - name: repository_id
      nullable: false
    - name: manifest_id
      nullable: false
    - name: child_manifest_id
      nullable: false
    operation: createTable
    table: manifestchild
  - columns: []
    indexName: manifestchild_child_manifest_id
    indexType: index
    operation: createIndex
    table: manifestchild
  - columns: []
    indexName: manifestchild_manifest_id
    indexType: index
    operation: createIndex
    table: manifestchild
  - columns: []
    indexName: manifestchild_manifest_id_child_manifest_id
    indexType: unique
    operation: createIndex
    table: manifestchild
  - columns: []
    indexName: manifestchild_repository_id
    indexType: index
    operation: createIndex
    table: manifestchild
  - columns: []
    indexName: manifestchild_repository_id_child_manifest_id
    indexType: index
    operation: createIndex
    table: manifestchild
  - columns: []
    indexName: manifestchild_repository_id_manifest_id
    indexType: index
    operation: createIndex
    table: manifestchild
  - columns: []
    indexName: manifestchild_repository_id_manifest_id_child_manifest_id
    indexType: index
    operation: createIndex
    table: manifestchild
  - columns:
    - name: id
      nullable: false
    - name: name
      nullable: false
    - name: repository_id
      nullable: false
    - name: manifest_id
      nullable: true
    - name: lifetime_start_ms
      nullable: false
    - name: lifetime_end_ms
      nullable: true
    - name: hidden
      nullable: false
    - name: reversion
      nullable: false
    - name: tag_kind_id
      nullable: false
    - name: linked_tag_id
      nullable: true
    operation: createTable
    table: tag
  - columns: []
    indexName: tag_lifetime_end_ms
    indexType: index
    operation: createIndex
    table: tag
  - columns: []
    indexName: tag_linked_tag_id
    indexType: index
    operation: createIndex
    table: tag
  - columns: []
    indexName: tag_manifest_id
    indexType: index
    operation: createIndex
    table: tag
  - columns: []
    indexName: tag_repository_id
    indexType: index
    operation: createIndex
    table: tag
  - columns: []
    indexName: tag_repository_id_name
    indexType: index
    operation: createIndex
    table: tag
  - columns: []
    indexName: tag_repository_id_name_hidden
    indexType: index
    operation: createIndex
    table: tag
  - columns: []
    indexName: tag_repository_id_name_lifetime_end_ms
    indexType: unique
    operation: createIndex
    table: tag
  - columns: []
    indexName: tag_repository_id_name_tag_kind_id
    indexType: index
    operation: createIndex
    table: tag
  - columns: []
    indexName: tag_tag_kind_id
    indexType: index
    operation: createIndex
    table: tag
