Documentation ¶
Index ¶
- type SqlxMigrate
- func (s *SqlxMigrate) Add(m SqlxMigration)
- func (s *SqlxMigrate) ColumnName() string
- func (s *SqlxMigrate) Migrate(db *sqlx.DB) (int, error)
- func (s *SqlxMigrate) Rollback(db *sqlx.DB) error
- func (s *SqlxMigrate) Run(db *sqlx.DB, steps int) (int, error)
- func (s *SqlxMigrate) Step(db *sqlx.DB) (int, error)
- func (s *SqlxMigrate) TableName() string
- type SqlxMigration
- type SqlxVersion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SqlxMigrate ¶
type SqlxMigrate struct { Migrations []SqlxMigration // contains filtered or unexported fields }
SqlxMigrate ...
Click to show internal directories.
Click to hide internal directories.