Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement