mirror of
https://github.com/empayre/fleet.git
synced 2024-11-08 09:43:51 +00:00
20 lines
322 B
Go
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)
|
||
|
}
|