Skip to content

Commit 3340451

Browse files
author
Sakib Hasan
authored
Add debug on alterTable (#46)
1 parent f1e8e09 commit 3340451

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/migration.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
'use strict';
77

88
var async = require('async');
9+
var debug = require('debug')('loopback:ibmdb');
910

1011
module.exports = function(IBMDB) {
1112
IBMDB.prototype.showFields = function(model, cb) {
@@ -249,6 +250,8 @@ module.exports = function(IBMDB) {
249250

250251
IBMDB.prototype.alterTable = function(model, actualFields, actualIndexes,
251252
callback, checkOnly) {
253+
debug('IBMDB.prototype.alterTable %j %j %j %j',
254+
model, actualFields, actualIndexes, checkOnly);
252255
var self = this;
253256
var sql = [];
254257
var tasks = [];

0 commit comments

Comments
 (0)