Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrations ¶
type Migrations []Migration
func NewMigrations ¶
func NewMigrations() *Migrations
func (*Migrations) Add ¶
func (m *Migrations) Add(id int, stmts ...string)
func (Migrations) Migrate ¶
func (m Migrations) Migrate(db *sql.DB) error
Click to show internal directories.
Click to hide internal directories.