UNPKG

@titanium/turbo

Version:

Turbo is a variation of Titanium Alloy that adds some enhancements and customizations for rapid development.

14 lines (12 loc) 221 B
migration.up = function(migrator) { migrator.createTable({ 'columns': { 'title':'text', 'image':'text', 'timestamp':'text' } }); }; migration.down = function(migrator) { migrator.dropTable('myModel'); };