UNPKG

openrecord

Version:
7 lines (6 loc) 121 B
exports.migration = { polymorph: function(name) { this.integer(name + '_id') this.string(name + '_type') } }