Update stuff
This commit is contained in:
parent
0254e42b9c
commit
553ba9db9a
40 changed files with 7343 additions and 717 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('hostr:db');
|
||||
|
||||
co(async function sync() {
|
||||
debug('Syncing schema');
|
||||
await models.sequelize.sync();
|
||||
debug('Schema synced');
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue