All Downloads are FREE. Search and download functionalities are using the official Maven repository.

db.changelog.20191202-create-diff-fingerprint-table.yml Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
databaseChangeLog:
  - changeSet:
      id: create-diff-fingerprint-table
      author: emjburns
      changes:
        - createTable:
            tableName: diff_fingerprint
            columns:
              - column:
                  name: resource_id
                  type: varchar(255)
                  constraints:
                    nullable: false
              - column:
                  name: first_detection_time
                  type: bigint
                  constraints:
                    nullable: false
              - column:
                  name: count
                  type: int
                  defaultValue: 1
                  constraints:
                    nullable: false
              - column:
                  name: hash
                  type: char(40)
                  constraints:
                    nullable: false
        - modifySql:
            dbms: mysql
            append:
              value: " engine innodb"
      rollback:
        - dropTable:
            tableName: diff_fingerprint
  - changeSet:
      id: create-diff-fingerprint-constraint-indicies
      author: emjburns
      changes:
        - addPrimaryKey:
            tableName: diff_fingerprint
            constraintName: diff_fingerprint_pk
            columnNames: resource_id
      rollback:
        - dropPrimaryKey:
            constraintName: diff_fingerprint_pk
            tableName: diff_fingerprint




© 2015 - 2024 Weber Informatics LLC | Privacy Policy