diff --git a/.gitignore b/.gitignore index cb8adfc..a0ed281 100644 --- a/.gitignore +++ b/.gitignore @@ -37,11 +37,6 @@ Testing/e2e/.auth/ Testing/e2e/blob-report/ # ── Migrations ───────────────────────────────────────────────────────── -# Reverted 2026-07-31: excluding new EF Core migrations while -# ErpDbContextModelSnapshot.cs stayed tracked meant every `dotnet ef -# migrations add` after the initial 4 silently produced a migration git would -# never see, while the (tracked) snapshot's changes committed normally — -# so the snapshot kept claiming tables existed that no migration in git -# history ever created them. Confirmed live: 25 HRM tables + 11 Manufacturing -# tables were missing from the actual database for exactly this reason. -# Migrations now stay tracked like any other source file — commit them. +# Each dev keeps EF Core migrations local; DB schema changes are announced +# to the team instead of committed, so migration files aren't shared here. +Migrations/ diff --git a/Backend/ERPCore/appsettings.Development.json b/Backend/ERPCore/appsettings.Development.json index 5c08826..16c2ab2 100644 --- a/Backend/ERPCore/appsettings.Development.json +++ b/Backend/ERPCore/appsettings.Development.json @@ -6,7 +6,7 @@ } }, "ConnectionStrings": { - "DefaultConnection": "Host=187.127.102.190;Port=5432;Database=ERPCoreTest;Username=postgres;Password=post@hexdive" + "DefaultConnection": "Host=127.0.0.1;Port=5433;Database=ERPCoreTest;Username=postgres;Password=post@hexdive" }, "AuthHex": { "BaseUrl": "http://localhost:5011"