Skip to content

Commit

Permalink
chore: migration method documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Vafilor committed Dec 29, 2020
1 parent 01f3fc6 commit 61c31e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/go/20201229205644_fix_jupyter_workspace_yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ func initialize20201229205644() {
}
}

// Up20201229205644 updates the jupyterlab workspace template
func Up20201229205644(tx *sql.Tx) error {
// This code is executed when the migration is applied.
return updateWorkspaceTemplateManifest(
filepath.Join("workspaces", "jupyterlab", "20201229205644.yaml"),
jupyterLabTemplateName)
}

// Down20201229205644 rolls back the jupyterab workspace template update
func Down20201229205644(tx *sql.Tx) error {
// This code is executed when the migration is rolled back.
return updateWorkspaceTemplateManifest(
Expand Down

0 comments on commit 61c31e4

Please sign in to comment.