migrat-sqlserver
v1.0.0
Published
migrat-config.js sample:
Downloads
1
Readme
migrat-sqlserver
sqlserver plugin for migrat
migrat-config.js sample:
var mssql = require('migrat-sqlserver');
module.exports = {
plugins: [
mssql({
host: 'hostname',
port: port number,
user: 'user name',
password: 'password',
database: 'database name',
migratSchema: 'achema name',
migratTable: 'table name',
enableLocking: false,
enableStateStorage: true,
encrypt: false, // Use this if you're on Windows Azure
})
],
migrationsDir: './migrations',
localState: './mig_version'
};