Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PgMigration ¶
type PgMigration struct {
User string
Password string
Database string
Host string
Port int
Limit int
TableName string
SchemaName string
// contains filtered or unexported fields
}
func (*PgMigration) Down ¶
func (o *PgMigration) Down() ([]string, error)
func (*PgMigration) NewMigration ¶
func (o *PgMigration) NewMigration(name string) (string, error)
func (*PgMigration) SetMigrationDir ¶
func (o *PgMigration) SetMigrationDir(dir string) *PgMigration
func (*PgMigration) Up ¶
func (o *PgMigration) Up() ([]string, error)
Click to show internal directories.
Click to hide internal directories.