Add missing return

This commit is contained in:
harriha 2015-08-30 12:12:03 +03:00 committed by Rhys van der Waerden
parent beaccbf898
commit e614e89d22

View File

@ -76,7 +76,7 @@ module.exports = function(knex) {
});
it('should not create column for invalid migration', function() {
knex.schema.hasColumn('migration_test_1', 'transaction').then(function(exists) {
return knex.schema.hasColumn('migration_test_1', 'transaction').then(function(exists) {
// MySQL / Oracle commit transactions implicit for most common
// migration statements (e.g. CREATE TABLE, ALTER TABLE, DROP TABLE),
// so we need to check for dialect