update timestamps 2

This commit is contained in:
Jacob Shandling 2023-10-10 14:20:25 -07:00
parent d3b65bdf48
commit 0422254ffd
2 changed files with 4 additions and 4 deletions

View file

@ -6,10 +6,10 @@ import (
)
func init() {
MigrationClient.AddMigration(Up_20230918221115, Down_20230918221115)
MigrationClient.AddMigration(Up_20231004144339, Down_20231004144339)
}
func Up_20230918221115(tx *sql.Tx) error {
func Up_20231004144339(tx *sql.Tx) error {
stmt := `
UPDATE teams
SET
@ -27,6 +27,6 @@ WHERE
return nil
}
func Down_20230918221115(tx *sql.Tx) error {
func Down_20231004144339(tx *sql.Tx) error {
return nil
}

View file

@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/require"
)
func TestUp_20230918221115(t *testing.T) {
func TestUp_20231004144339(t *testing.T) {
db := applyUpToPrev(t)
dataStmts := `