Skip to content

Commit 8824268

Browse files
authored
fix(migrations): add instructions to bring back custom_migration_cutoff (#2299)
Ref: SRX-C0R01N
1 parent 31d93d0 commit 8824268

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/rollback.md

+10
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,13 @@ You can easily roll back to an older version of a single service
1212
![](../assets/img/rollback/releasedialog-full.png)
1313
5) Now you have 2 planned actions, that you still need to apply. ![](../assets/img/rollback/planned-actions.png)
1414

15+
# Migrations
16+
If you've deleted the custom migrations cutoff table and you want to bring it back you can run:
17+
```Sql
18+
CREATE TABLE IF NOT EXISTS custom_migration_cutoff
19+
(
20+
migration_done_at TIMESTAMP NOT NULL,
21+
kuberpult_version varchar(100) PRIMARY KEY -- the version as it appears on GitHub, e.g. "1.2.3"
22+
);
23+
```
24+
This way you can have this table back.

0 commit comments

Comments
 (0)