Fix db migration on mssql