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

db.changelog.20200109-create-task-tracking-table.yml Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
databaseChangeLog:
  - changeSet:
      id: create-task-tracking-table
      author: gyardeni
      changes:
        - createTable:
            tableName: task_tracking
            columns:
              - column:
                  name: task_id
                  type: varchar(255)
                  constraints:
                    nullable: false
              - column:
                  name: task_name
                  type: longtext
                  value: "{}"
                  constraints:
                    nullable: false
              - column:
                  name: subject
                  type: varchar(255)
                  constraints:
                    - nullable: false
              - column:
                  name: timestamp
                  type: bigint
                  constraints:
                    nullable: false
              - modifySql:
                  dbms: mysql
                  append:
                    value: "engine innodb"
      rollback:
        - dropTable:
            tableName: task_tracking
  - changeSet:
      id: create-task_tracking-constraint-indicies
      author: gyardeni
      changes:
        - addPrimaryKey:
            tableName: task_tracking
            constraintName: task_tracking_pk
            columnNames: task_id
      rollback:
        - dropPrimaryKey:
            constraintName: task_tracking_pk
            tableName: task_tracking




© 2015 - 2024 Weber Informatics LLC | Privacy Policy