mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
update timestamps 2
This commit is contained in:
parent
d3b65bdf48
commit
0422254ffd
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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 := `
|
||||
Loading…
Reference in a new issue