Documentation ¶
Overview ¶
Package mysql implements MySQL migrations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
Configuration defines the shared configuration interface.
type Entity ¶
type Entity struct {
// contains filtered or unexported fields
}
Entity defines fulfills the migration interface.
func (*Entity) CreateTable ¶
CreateTable returns true if the migration was created
func (*Entity) RecordDown ¶
RecordDown removes a record from the database and updates the AUTO_INCREMENT value
func (*Entity) TableExist ¶
TableExist returns true if the migration table exists
Click to show internal directories.
Click to hide internal directories.