SHARE
TWEET

Untitled

a guest Jun 15th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # db.changelog-1.0.0.yaml
  2. # Create bank table
  3. databaseChangeLog:
  4.     - property:
  5.         name: autoIncrement
  6.         value: true
  7.         dbms: mysql
  8.     - changeSet:
  9.         id: 1_0_0_0
  10.         author: pubuduwelagedara
  11.         changes:
  12.             - createTable:
  13.                 tableName: bank
  14.                 columns:
  15.                     - column:
  16.                         name: id
  17.                         type: int
  18.                         constraints:
  19.                             primaryKey: true
  20.                             nullable: false
  21.                         autoIncrement: ${autoIncrement}
  22.                     - column:
  23.                         name: name
  24.                         type: varchar(255)
  25.                         constraints:
  26.                             nullable: false
  27.     - changeSet:
  28.         id: 1_0_0_1
  29.         author: pubuduwelagedara
  30.         dbms: h2,postgresql,oracle
  31.         changes:
  32.             - createSequence:
  33.                 sequenceName: seq_bank_id
  34.                 startValue: 1
  35.                 incrementBy: 5
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top