-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restoring the Microcluster Schema Migration History (#689)
- Loading branch information
1 parent
a2c00fb
commit c74b9f5
Showing
3 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ CREATE TABLE worker_nodes ( | |
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, | ||
name TEXT NOT NULL, | ||
UNIQUE(name) | ||
); | ||
) |
1 change: 1 addition & 0 deletions
1
src/k8s/pkg/k8sd/database/sql/migrations/worker-nodes/001-delete.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP TABLE IF EXISTS worker_nodes |