* 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.
11 lines
241 B
JavaScript
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');
|
|
});
|