WIP: EOL
This commit is contained in:
parent
7ed1e05284
commit
49e05cac10
23 changed files with 613 additions and 253 deletions
20
cmd/migrate.go
Normal file
20
cmd/migrate.go
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func init() {
|
||||
rootCmd.AddCommand(versionCmd)
|
||||
}
|
||||
|
||||
var migrateCmd = &cobra.Command{
|
||||
Use: "migrate",
|
||||
Short: "Migrate database schema up/down",
|
||||
Long: `All software has versions. This is backoffice backend's`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Println("Migrate database schema up/down")
|
||||
},
|
||||
}
|
||||
Reference in a new issue