Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Connection holds a database connection.
func (*Conn) AddApplied ¶
AddApplied records a migration as applied.
func (*Conn) CreateTable ¶
CreateTable create the migration table using a PostgreSQL-compatible syntax.
func (*Conn) GetApplied ¶
GetApplied returns the list of applied migrations.
func (*Conn) RemoveApplied ¶
RemoveApplied records a migration as reversed.
Click to show internal directories.
Click to hide internal directories.