Skip to content

Instantly share code, notes, and snippets.

@kopipejst
kopipejst / migrate.js
Created August 24, 2014 01:07
loopback create build-in models tables
/**
* loopback: create build-in models tables
*
* put migrate.js file in server folder
* run `node migrate.js`
* @type {[type]}
*/
var app = require('./server');
var dataSource = app.dataSources.db;
alert('test')