1
0
mirror of https://github.com/GOSTSec/gostexplr synced 2025-01-15 09:10:06 +00:00
gostexplr/bin/reinitTables.js
2018-02-03 21:14:56 +05:00

15 lines
222 B
JavaScript

#!/usr/bin/env node
var models = require('../models');
models.sequelize.sync({force: true})
.then(() => {
console.log('REINIT SUCCESS')
process.exit(0);
})
.catch((err) => {
console.log(err);
process.exit(0);
});