Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PostgresqlDatabaseType = "postgresql"
)
Functions ¶
func RunMigrations ¶
func RunMigrations(backend SqlBackend, migrationsBasePath string) error
Types ¶
type MigrationDriver ¶
type SQLDatabaseType ¶
type SQLDatabaseType = string
type SqlBackend ¶
type SqlBackend interface { MigrationDriver Db() *sql.DB DatabaseType() SQLDatabaseType }
Click to show internal directories.
Click to hide internal directories.