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

db.changelog.20190802-create-resource-event-table.yml Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
databaseChangeLog:
  - changeSet:
      id: create-resource-event-table
      author: emjburns
      changes:
        - createTable:
            tableName: resource_event
            columns:
              - column:
                  name: uid
                  type: char(26)
                  constraints:
                    nullable: false
              - column:
                  name: timestamp
                  type: timestamp
                  constraints:
                    nullable: false
              - column:
                  name: json
                  type: longtext
                  constraints:
                    nullable: false
        - modifySql:
            dbms: mysql
            append:
              value: " engine innodb"
      rollback:
        - dropTable:
            tableName: resource_event
  - changeSet:
      id: create-resource-event-table-indicies
      author: emjburns
      changes:
        - createIndex:
            indexName: resource_event_uid_idx
            tableName: resource_event
            columns:
              - column:
                  name: uid
        - createIndex:
            indexName: resource_event_uid_timestamp_idx
            tableName: resource_event
            columns:
              - column:
                  name: uid
              - column:
                  name: timestamp




© 2015 - 2024 Weber Informatics LLC | Privacy Policy