Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(conf migrations.ConfigMap) migrations.Provider
New returns a new instabnce of MSSQL. Implementing providers.ConstructorFunc, New takes a migrations.ConfigMap, which is used to populate HistoryTableName.
Types ¶
type MSSQL ¶
MSSQL is a migration provider for SQL Server.
func (*MSSQL) Apply ¶
Apply applies the migration, m, to the database, as well as adding a record to the migration history table.
func (*MSSQL) GetAppliedMigrations ¶
GetAppliedMigrations queries the migration history table for all applied migrations.
Click to show internal directories.
Click to hide internal directories.