4adc6d79d9
fix: redact Gemini key; exclude audit/log tables from seed exporter
...
- Redact AIzaSy Gemini key from clinical_audit_trail entries in seed JSON
- Add default never-export denylist to exportMasterSeedData() so that
clinical_audit_trail, lab_log, bridge_sync_queue and session tables are
always skipped when setup.seed.export_tables is not configured.
This prevents API keys set via the admin UI from leaking into git via
the audit trail even after being deleted from hospital_setting.
2026-03-18 06:13:30 +05:30
1e2a86708f
Fix seed export blank output with case-insensitive table resolution and fallback export
2026-03-18 05:12:20 +05:30
ee3193ce43
Add master seed data export and auto-apply during setup install - idempotent REPLACE mode prevents duplicates
2026-03-18 04:41:51 +05:30
67fbc68c1c
Prioritize parent tables and remove restrictive sync table cap
2026-03-18 03:19:50 +05:30
31e7c21dd4
Order schema create statements by FK dependencies
2026-03-18 03:12:55 +05:30
47b957bf18
Handle referenced-table FK errors by creating tables without FK fallback
2026-03-18 03:08:22 +05:30
b9dc1afe4b
Fix schema sync FK dependency ordering with retry passes
2026-03-18 03:06:22 +05:30
8231190713
Force admin email_password identity upsert during setup reset
2026-03-05 14:19:02 +05:30
90692a84c6
Skip FK-protected modifies and unsafe auto-increment/PK sync changes
2026-03-04 03:49:46 +05:30
9fa19d4348
Skip narrowing and not-null tightening modifies during schema sync
2026-03-04 03:44:14 +05:30
efa33c343b
Skip indexed varchar widening that would exceed key length limits
2026-03-04 03:39:07 +05:30
cf83dae20f
Use table collation fallback for index width checks and robust 1071 skip
2026-03-04 03:33:26 +05:30
a18bc7a0bf
Skip oversized index alters to avoid key length 3072 errors
2026-03-04 03:27:17 +05:30
2419d0df7b
Skip text/blob default-only modifies for compatible wider client types
2026-03-04 03:21:55 +05:30
04ac40a73d
Treat text/blob wider variants as compatible in schema sync
2026-03-04 03:17:51 +05:30
30076ae69e
Skip narrowing column modifies when client width is already wider
2026-03-04 03:13:27 +05:30
259a2cdb0a
Batch per-table column alters and normalize schema diff comparisons
2026-03-04 01:00:37 +05:30
fc6b878bb3
Normalize integer type widths in schema compare to avoid false MODIFY
2026-03-04 00:48:52 +05:30
2b7b45849f
Reduce unnecessary ALTER MODIFY by normalizing column signature
2026-03-04 00:38:34 +05:30
d4c16bd161
Harden schema sync index alters with equivalent-index checks
2026-03-03 20:18:22 +05:30
503a090dbe
Add setup auth schema repair and login diagnostics
2026-03-03 19:17:08 +05:30
498b46952f
Add timeout-safe auto schema sync with stop control
2026-03-03 19:02:32 +05:30
9b235cc01f
Improve setup installation diagnostics and sync error visibility
2026-03-02 23:09:40 +05:30
76fa8f35b1
Add setup action to create or update admin login user
2026-02-28 23:51:20 +05:30
0b256777e0
Add schema-sync retries/skips for FK and collation edge cases
2026-02-28 23:25:31 +05:30
b7f04316a4
Fix schema-sync SQL normalization for MySQL compatibility
2026-02-28 23:17:19 +05:30
a5e4ac6ced
Harden schema-sync for large databases with limits and safer preview
2026-02-28 23:09:34 +05:30
9f63cc5501
Add offline master-schema file sync for setup DB tools
2026-02-28 22:45:45 +05:30
d541bbb9ad
Allow one-time setup access via .env key for server use
2026-02-28 20:48:27 +05:30
a10908e227
Add one-time DB setup utility for migration scaffolding and lock
2026-02-28 04:42:58 +05:30