fleet/server/datastore/mysql/migrations/tables/20170831234300_DropLicenses.go
2017-09-01 10:42:46 -06:00

20 lines
322 B
Go

package tables
import (
"database/sql"
)
func init() {
MigrationClient.AddMigration(Up_20170831234300, Down_20170831234300)
}
func Up_20170831234300(tx *sql.Tx) error {
_, err := tx.Exec("DROP TABLE IF EXISTS `licenses`;")
return err
}
func Down_20170831234300(tx *sql.Tx) error {
return Up_20170127014618(tx)
}