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

liquibase.changelogs.v3_17_0.schema-notification-acknowledges.yml Maven / Gradle / Ivy

There is a newer version: 4.6.0-alpha.2
Show newest version
databaseChangeLog:
  - changeSet:
      id: 3.17.0-notification-acknowledges
      author: GraviteeSource Team
      changes:
        - createTable:
            tableName: notification_acknowledgements
            columns:
              - column: { name: id, type: nvarchar(64), constraints: { nullable: false } }
              - column: { name: resource_id, type: nvarchar(64), constraints: { nullable: false } }
              - column: { name: resource_type, type: nvarchar(64), constraints: { nullable: false } }
              - column: { name: type, type: nvarchar(64), constraints: { nullable: false } }
              - column: { name: audience_id, type: nvarchar(64), constraints: { nullable: false } }
              - column: { name: counter, type: integer, constraints: { nullable: false } }
              - column: { name: created_at, type: timestamp(6), constraints: { nullable: false } }
              - column: { name: updated_at, type: timestamp(6), constraints: { nullable: false } }

        - addPrimaryKey:
            constraintName: pk_notification_acknowledgements
            columnNames: id
            tableName: notification_acknowledgements

        - createIndex:
            tableName: notification_acknowledgements
            columns:
              - column:
                  name: resource_id
              - column:
                  name: resource_type
              - column:
                  name: type
              - column:
                  name: audience_id
            indexName: notification_acknowledgements_4col
            unique: true




© 2015 - 2024 Weber Informatics LLC | Privacy Policy