mirror of
https://github.com/knex/knex.git
synced 2025-12-30 00:30:14 +00:00
Add missing return
This commit is contained in:
parent
beaccbf898
commit
e614e89d22
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user