Skip to content

Commit

Permalink
Add YAML and JSON cluster columns examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliimak committed Aug 29, 2024
1 parent 7f0e4fd commit 51477e9
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"databaseChangeLog": [
{
"changeSet": {
"id": "1",
"author": "your.name",
"changes": [
{
"createTable": {
"tableName": "test_table_clustered_new",
"columns": [
{
"column": {
"name": "test_id",
"type": "int"
}
},
{
"column": {
"name": "test_new",
"type": "int"
}
}
],
"clusterColumns": "test_id,test_new"
}
}
]
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
databaseChangeLog:
- changeSet:
id: 1
author: your.name
changes:
- createTable:
tableName: test_table_clustered_new
columns:
- column:
name: test_id
type: int
- column:
name: test_new
type: int
clusterColumns: test_id, test_new

0 comments on commit 51477e9

Please sign in to comment.