Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NextScript ¶
type NextScript struct {
ScriptAction ScriptAction
Names *ScriptNames
}
func GetNextScriptName ¶
func GetNextScriptName(migration *migrate.Migrate, options *Options) *NextScript
func (*NextScript) WriteScripts ¶
func (next *NextScript) WriteScripts(migrationOps checkmigration.MigrationOps, options *Options)
type Options ¶
type Options struct {
ScriptsInRoot string
NewScriptPrefix func(version uint) (prefix string)
DryRun bool
SurveyWritten bool
DefaultSuffix string
}
func NewOptions ¶
type ScriptAction ¶
type ScriptAction string
const ( CreateScript ScriptAction = "create-script" ModifyScript ScriptAction = "modify-script" )
type ScriptNames ¶
Click to show internal directories.
Click to hide internal directories.