Init: bootstrap go module with basic framework
This commit is contained in:
11
cmd/migrates/unlock.go
Normal file
11
cmd/migrates/unlock.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package migrates
|
||||
|
||||
import "github.com/spf13/cobra"
|
||||
|
||||
var unlockCmd = &cobra.Command{
|
||||
Use: "unlock",
|
||||
Short: "Unlock migrations",
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return migrator.Unlock(cmd.Context())
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user