17 lines
379 B
JavaScript
17 lines
379 B
JavaScript
let mysql = require('mysql');
|
|
|
|
let connection = mysql.createConnection({
|
|
multipleStatements: false,
|
|
host: 'localhost',
|
|
user: 'root',
|
|
password: '',
|
|
database: 'salix'
|
|
});
|
|
|
|
export function restoreFixtures() {
|
|
// connection.connect();
|
|
// connection.query('CALL truncateDatabase');
|
|
// connection.disconect();
|
|
// console.log('fixtures restored');
|
|
}
|