Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here the columns are also defined, along with the constraints of a specific column.

Here is the Change-Log for a tabel that has been previously added CPS

Code Block
languageyml
titleAnchor Table
collapsetrue
databaseChangeLog:
  - changeSet:
      id: 1-1
      author: cps
      changes:
        - createTable:
            columns:
              - column:
                  autoIncrement: true
                  constraints:
                    nullable: false
                    primaryKey: true
                    primaryKeyName: anchor_pkey
                  name: id
                  type: BIGINT
              - column:
                  name: name
                  type: TEXT
              - column:
                  name: schema_set_id
                  type: INTEGER
              - column:
                  constraints:
                    nullable: false
                  name: dataspace_id
                  type: INTEGER
            tableName: anchor

...