mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-23 04:04:35 +02:00
add migration to set trust_proxy to 1 if it exists in config
This commit is contained in:
parent
97ae76e4e7
commit
58ba0d07b0
4 changed files with 97 additions and 1 deletions
|
@ -21,6 +21,7 @@ import m17 from "./scriptsSqlite/1.1.0";
|
|||
import m18 from "./scriptsSqlite/1.2.0";
|
||||
import m19 from "./scriptsSqlite/1.3.0";
|
||||
import m20 from "./scriptsSqlite/1.5.0";
|
||||
import m21 from "./scriptsSqlite/1.6.0";
|
||||
|
||||
// THIS CANNOT IMPORT ANYTHING FROM THE SERVER
|
||||
// EXCEPT FOR THE DATABASE AND THE SCHEMA
|
||||
|
@ -42,6 +43,7 @@ const migrations = [
|
|||
{ version: "1.2.0", run: m18 },
|
||||
{ version: "1.3.0", run: m19 },
|
||||
{ version: "1.5.0", run: m20 },
|
||||
{ version: "1.6.0", run: m21 }
|
||||
// Add new migrations here as they are created
|
||||
] as const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue