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

db.changelog.20190415-initial-snapshots-schema.yml Maven / Gradle / Ivy

The newest version!
databaseChangeLog:
  - changeSet:
      id: create-snapshots-table
      author: ajordens
      changes:
        - createTable:
            tableName: snapshots
            columns:
              - column:
                  name: id
                  type: char(255)
                  constraints:
                    primaryKey: true
                    nullable: false
              - column:
                  name: body
                  type: longtext
                  constraints:
                    nullable: false
              - column:
                  name: created_at
                  type: bigint
                  constraints:
                    nullable: false
              - column:
                  name: last_modified_at
                  type: bigint
                  constraints:
                    nullable: false
              - column:
                  name: last_modified_by
                  type: varchar(255)
                  constraints:
                    nullable: false
              - column:
                  name: is_deleted
                  type: boolean
                  defaultValueBoolean: false
                  constraints:
                    nullable: false
        - modifySql:
            dbms: mysql
            append:
              value: " engine innodb DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci"
      rollback:
        - dropTable:
            tableName: snapshots




© 2015 - 2024 Weber Informatics LLC | Privacy Policy