combine.fm/test/init.js
Jonathan Cremin 7bb0497ff4 Migrate all the things
* Migrates from Mongo to Postgres.
* Migrates from JSPM to Webpack.
* Migrates from React to Vuejs.
* Migrates from Bootstrap to Bulma.

Also:
* Fixes rendering of meta data in the document head tag.
2016-10-23 21:36:23 +01:00

11 lines
241 B
JavaScript

import co from 'co';
import models from '../models';
import debugname from 'debug';
const debug = debugname('match.audio:db');
co(function *sync() {
debug('Syncing schema');
yield models.sequelize.sync();
debug('Schema synced');
});