
---
apiVersion: dbaoperator.app-sre.redhat.com/v1alpha1
kind: DatabaseMigration
metadata:
  name: 7367229b38d9
spec:
  migrationContainerSpec:
    command:
    - /quay-registry/quay-entrypoint.sh
    - migrate
    - 7367229b38d9
    image: quay.io/quay/quay
    name: 7367229b38d9
  previous: d8989249f8f6
  schemaHints:
  - columns:
    - name: id
      nullable: false
    - name: user_id
      nullable: false
    - name: uuid
      nullable: false
    - name: title
      nullable: false
    - name: token_code
      nullable: false
    - name: created
      nullable: false
    - name: expiration
      nullable: true
    - name: last_accessed
      nullable: true
    operation: createTable
    table: appspecificauthtoken
  - columns: []
    indexName: appspecificauthtoken_token_code
    indexType: unique
    operation: createIndex
    table: appspecificauthtoken
  - columns: []
    indexName: appspecificauthtoken_user_id
    indexType: index
    operation: createIndex
    table: appspecificauthtoken
  - columns: []
    indexName: appspecificauthtoken_user_id_expiration
    indexType: index
    operation: createIndex
    table: appspecificauthtoken
  - columns: []
    indexName: appspecificauthtoken_uuid
    indexType: index
    operation: createIndex
    table: appspecificauthtoken
