1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-backoffice-v2-api/cmd/migrate_up.go
2024-05-04 18:21:45 +02:00

26 lines
398 B
Go

package cmd
import (
"github.com/spf13/cobra"
)
func init() {
migrateCmd.AddCommand(migrateUpCmd)
}
var migrateUpCmd = &cobra.Command{
Use: "up",
Short: "Migrate database schema up",
Long: ``,
Run: func(cmd *cobra.Command, args []string) {
// TODO: Implement this
// TODO: get database URL
// TODO: run migrations
// TODO: handle errors
// TODO: gracefully shutdown
},
}