'use strict';

var dbm;
var type;
var seed;

/**
  * We receive the dbmigrate dependency from dbmigrate initially.
  * This enables us to not have to rely on NODE_PATH.
  */
exports.setup = function(options, seedLink) {
  dbm = options.dbmigrate;
  type = dbm.dataType;
  seed = seedLink;
};

exports.up = function(db) {
  return db.addColumn('payment', 'createdAt', {
    type: 'bigint'
  });
};

exports.down = function(db) {
  return db.removeColumn('payment', 'createdAt');
};

exports._meta = {
  "version": 1
};

'use strict';

var dbm;
var type;
var seed;

/**
  * We receive the dbmigrate dependency from dbmigrate initially.
  * This enables us to not have to rely on NODE_PATH.
  */
exports.setup = function(options, seedLink) {
  dbm = options.dbmigrate;
  type = dbm.dataType;
  seed = seedLink;
};

exports.up = function(db) {
  return db.addColumn('payment', 'createdAt', {
    type: 'bigint'
  });
};

exports.down = function(db) {
};

exports._meta = {
  "version": 1
};

Remove call of not implemented method removeColumn in SQLite migration.
Remove call of not implemented method removeColumn in SQLite migration.
