mirror of
https://github.com/plankanban/planka.git
synced 2025-12-20 01:14:12 +03:00
@@ -1,3 +1,8 @@
|
||||
/*!
|
||||
* Copyright (c) 2024 PLANKA Software GmbH
|
||||
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
|
||||
*/
|
||||
|
||||
const initKnex = require('knex');
|
||||
|
||||
const knexfile = require('./knexfile');
|
||||
@@ -10,7 +15,6 @@ const knex = initKnex(knexfile);
|
||||
await knex.seed.run();
|
||||
} catch (error) {
|
||||
process.exitCode = 1;
|
||||
|
||||
throw error;
|
||||
} finally {
|
||||
knex.destroy();
|
||||
|
||||
Reference in New Issue
Block a user