Skip to content

Commit

Permalink
Add YAML and JSON changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliimak committed Aug 5, 2024
1 parent fc855cd commit 56ad8fb
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"databaseChangeLog": [
{
"changeSet": {
"id": "1",
"author": "your.name",
"changes": [
{
"createTable": {
"tableName": "test_table_alter_cluster",
"columns": [
{
"column": {
"name":"test_id",
"type": "int"
}
}
]
}
}
]
}
},
{
"changeSet": {
"id": "2",
"author": "your.name",
"changes": [
{
"alterCluster": {
"tableName": "test_table_alter_cluster",
"columns": [
{
"column": {
"name": "test_id"
}
}
]
}
}
],
"rollback": [
{
"alterCluster": {
"tableName": "test_table_alter_cluster",
"clusterBy": {
"none": "true"
}
}
}
]
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
databaseChangeLog:
- changeSet:
id: 1
author: your.name
changes:
- createTable:
tableName: test_table_alter_cluster
columns:
- column:
name: test_id
type: int
- changeSet:
id: 2
author: your.name
changes:
- alterCluster:
tableName: test_table_alter_cluster
columns:
- column:
name: test_id
rollback:
- alterCluster:
tableName: test_table_alter_cluster
clusterBy:
none: "true"

0 comments on commit 56ad8fb

Please sign in to comment.