mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 06:59:33 +02:00
remove environment variable support and config file autogeneration
This commit is contained in:
parent
3e35e3a9ea
commit
03c03fc07a
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