1
0
mirror of https://github.com/GOSTSec/gostexplr synced 2025-01-20 03:30:33 +00:00
gostexplr/bin/initdb.js

13 lines
223 B
JavaScript
Raw Normal View History

2018-02-03 21:14:56 +05:00
#!/usr/bin/env node
var models = require('../models');
models.sequelize.sync({force: true})
.then(() => {
console.log('Tables created');
process.exit(0);
})
.catch((err) => {
console.log(err);
2018-02-03 21:14:56 +05:00
process.exit(0);
});