mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-10-04 10:34:07 -04:00
10 lines
208 B
JavaScript
10 lines
208 B
JavaScript
const dbConnection = require('./db');
|
|
|
|
async function migrate() {
|
|
const db = await dbConnection();
|
|
await db.migrate({migrationsPath: __dirname + '/../migrations'})
|
|
await db.close();
|
|
}
|
|
|
|
migrate();
|