mirror of
https://github.com/GOSTSec/gostexplr
synced 2025-01-19 19:21:03 +00:00
13 lines
223 B
JavaScript
13 lines
223 B
JavaScript
#!/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);
|
|
process.exit(0);
|
|
});
|