re-timestamp migration

This commit is contained in:
mostlikelee 2024-02-13 10:19:44 -07:00
parent c387054af1
commit e963e64b3c
2 changed files with 4 additions and 4 deletions

View file

@ -5,10 +5,10 @@ import (
)
func init() {
MigrationClient.AddMigration(Up_20240208095115, Down_20240208095115)
MigrationClient.AddMigration(Up_20240209135115, Down_20240209135115)
}
func Up_20240208095115(tx *sql.Tx) error {
func Up_20240209135115(tx *sql.Tx) error {
createStmt := `
CREATE TABLE IF NOT EXISTS vulnerability_host_counts (
cve VARCHAR(20) NOT NULL,
@ -27,6 +27,6 @@ func Up_20240208095115(tx *sql.Tx) error {
return nil
}
func Down_20240208095115(tx *sql.Tx) error {
func Down_20240209135115(tx *sql.Tx) error {
return nil
}

View file

@ -2,7 +2,7 @@ package tables
import "testing"
func TestUp_20240208095115(t *testing.T) {
func TestUp_20240209135115(t *testing.T) {
db := applyUpToPrev(t)
applyNext(t, db)