You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -55,7 +55,7 @@ Create a **YAML file** (e.g., `_0001__CreatePersonsTable.yaml`) inside your appl
55
55
```yaml
56
56
id: CreatePersonsTableFromTemplate
57
57
targetSystem: "database-system"
58
-
templateName: sql-template
58
+
template: SqlTemplate
59
59
recovery:
60
60
strategy: ALWAYS_RETRY # Safe to retry - CREATE TABLE IF NOT EXISTS semantics
61
61
apply: |
@@ -74,7 +74,7 @@ rollback: "DROP TABLE IF EXISTS Persons;"
74
74
- **`id`**: Unique identifier for the change, used for tracking (same as in code-based changes).
75
75
- **`order`**: Execution order relative to other changes (also shared with code-based).
76
76
- **`targetSystem`**: Specifies which target system this change applies to - **required** for all template-based changes, just like code-based Changes.
77
-
- **`templateName`**: Indicates which template should be used to handle the change logic. This is **required** for all template-based changes.
77
+
- **`template`**: Indicates which template should be used to handle the change logic. This is **required** for all template-based changes.
78
78
- **`apply`**: Direct apply logic for the change. The format depends on the template type (string for SQL, map for MongoDB, etc.).
79
79
- **`rollback`**: Direct rollback logic for the change. The format depends on the template type (string for SQL, map for MongoDB, etc.).
0 commit comments