machinomy
Version:
Micropayments powered by Ethereum
22 lines • 582 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
function up(db, callback) {
const createTableOptions = {
columns: {
token: 'string',
kind: 'string',
channelId: {
type: 'string',
notNull: true
}
},
ifNotExists: true
};
db.createTable('token', createTableOptions, callback);
}
exports.up = up;
function down(db, callback) {
db.dropTable('token', callback);
}
exports.down = down;
//# sourceMappingURL=20180115082512-create-token.js.map