Commit Graph

1 Commits

Author SHA1 Message Date
spouliot 06a5070a92 Add idempotent SQL script for AddCompanyDefaultGlAccounts migration
Migrations are not auto-applied on startup (Program.cs:856 is commented),
so dev/prod DBs need this applied manually. Idempotent (guarded by
__EFMigrationsHistory checks) — safe to run regardless of current state.
Adds CompanyPreferences.Default{Revenue,Cogs,Inventory}AccountId + indexes + FKs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 18:09:40 -04:00