Skip to content

Commit 5da6d50

Browse files
committed
Update migrations for main rebase.
1 parent f7cc942 commit 5da6d50

File tree

3 files changed

+35
-6
lines changed

3 files changed

+35
-6
lines changed

server/datastore/mysql/migrations/tables/20240313085226_AddCalendarEventTables.go server/datastore/mysql/migrations/tables/20240314085226_AddCalendarEventTables.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
)
77

88
func init() {
9-
MigrationClient.AddMigration(Up_20240313085226, Down_20240313085226)
9+
MigrationClient.AddMigration(Up_20240314085226, Down_20240314085226)
1010
}
1111

12-
func Up_20240313085226(tx *sql.Tx) error {
12+
func Up_20240314085226(tx *sql.Tx) error {
1313
// TODO(lucas): Check if we need more indexes.
1414

1515
if _, err := tx.Exec(`
@@ -47,6 +47,6 @@ func Up_20240313085226(tx *sql.Tx) error {
4747
return nil
4848
}
4949

50-
func Down_20240313085226(tx *sql.Tx) error {
50+
func Down_20240314085226(tx *sql.Tx) error {
5151
return nil
5252
}

server/datastore/mysql/migrations/tables/20240313085226_AddCalendarEventTables_test.go server/datastore/mysql/migrations/tables/20240314085226_AddCalendarEventTables_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/stretchr/testify/require"
99
)
1010

11-
func TestUp_20240313085226(t *testing.T) {
11+
func TestUp_20240314085226(t *testing.T) {
1212
db := applyUpToPrev(t)
1313
applyNext(t, db)
1414

0 commit comments

Comments
 (0)