Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cobra.Command{ Version: shared.VersionString(), Use: "pgmigrate", Short: shared.DocsLink, Example: shared.CLIExample(` # Preview and then apply migrations pgmigrate plan # Preview which migrations would be applied pgmigrate migrate # Apply any previously-unapplied migrations pgmigrate verify # Verify that migrations have been applied correctly pgmigrate applied # Show all previously-applied migrations # Dump the current schema to a file pgmigrate dump --out schema.sql `), TraverseChildren: true, RunE: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf(`invalid command: "%s"`, args[0]) } return cmd.Help() }, }
View Source
var DumpFlags struct { Out *string Schema *string }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.