Migrating to workers, renaming service
This commit is contained in:
parent
850584ff36
commit
a6cd5f4266
29 changed files with 5542 additions and 611 deletions
11
test/initdb.js
Normal file
11
test/initdb.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
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');
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue