Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrator ¶
Migrator represents the database migrator that should be used to migrate from v2 of the database to v3
func NewMigrator ¶
func NewMigrator(db *postgresql.Database) *Migrator
func (*Migrator) PrepareMigration ¶
PrepareMigration prepares the database for the migration by renaming the old tables and creating the new ones
Click to show internal directories.
Click to hide internal directories.