mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-09 21:44:51 +02:00
remove environment variable support and config file autogeneration
This commit is contained in:
parent
9253dd19ba
commit
c93b36c757
6 changed files with 17 additions and 271 deletions
|
@ -40,9 +40,6 @@ const migrations = [
|
|||
await run();
|
||||
|
||||
async function run() {
|
||||
// backup the database
|
||||
backupDb();
|
||||
|
||||
// run the migrations
|
||||
await runMigrations();
|
||||
}
|
||||
|
@ -127,6 +124,9 @@ async function executeScripts() {
|
|||
console.log(`Running migration ${migration.version}`);
|
||||
|
||||
try {
|
||||
// Backup the database before running the migration
|
||||
backupDb();
|
||||
|
||||
await migration.run();
|
||||
|
||||
// Update version in database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue