Documentation ¶
Overview ¶
Copyright © 2023 Codoworks Author: Dexter Codo Contact: dexter.codo@gmail.com
Copyright © 2023 Codoworks Author: Dexter Codo Contact: dexter.codo@gmail.com
Copyright © 2023 Codoworks Author: Dexter Codo Contact: dexter.codo@gmail.com
Copyright © 2023 Codoworks Author: Dexter Codo Contact: dexter.codo@gmail.com
Copyright © 2023 Codoworks Author: Dexter Codo Contact: dexter.codo@gmail.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateCmd = &cobra.Command{
Use: "create",
Short: "Create database",
Long: `Create dababase.`,
Run: execCreateCmd,
}
CreateCmd represents the create command
View Source
var DropCmd = &cobra.Command{
Use: "drop",
Short: "Drop database",
Long: `Drop dababase.`,
Run: execDropCmd,
}
View Source
var MigrateCmd = &cobra.Command{
Use: "migrate",
Short: "Migrate database",
Long: `Run database migrations.`,
Run: execMigrateCmd,
}
MigrateCmd represents the migrate command
View Source
var RollbackCmd = &cobra.Command{
Use: "rollback",
Short: "Rollback database",
Long: `Rollback one database migration.`,
Run: execRollbackCmd,
}
RollbackCmd represents the rollback command
View Source
var SeedCmd = &cobra.Command{
Use: "seed",
Short: "Seed database",
Long: `Backfill database with seed data.`,
Run: execSeedCmd,
}
SeedCmd represents the seed command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.