Skip to content

Commit 6f8e3f5

Browse files
committed
chore: documenting migrations
1 parent 66e2418 commit 6f8e3f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

db/go/20210719190719_update_filesyncer.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ func initialize20210719190719() {
1313
}
1414
}
1515

16+
// Up20210719190719 updates the workspace templates to use new v1.0.0 of filesyncer
1617
func Up20210719190719(tx *sql.Tx) error {
1718
// This code is executed when the migration is applied.
1819
if err := updateWorkspaceTemplateManifest(
@@ -38,6 +39,7 @@ func Up20210719190719(tx *sql.Tx) error {
3839
vscodeWorkspaceTemplateName)
3940
}
4041

42+
// Down20210719190719 rolls back the change to update filesyncer
4143
func Down20210719190719(tx *sql.Tx) error {
4244
// This code is executed when the migration is rolled back.
4345
if err := updateWorkspaceTemplateManifest(

0 commit comments

Comments
 (0)