mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-07 05:34:17 +00:00
- Close migration DB connections with defer to prevent leaks - Truncate destination tables before migration to avoid duplicates - Wrap migration in transaction for atomicity - Pass DB password via env var instead of CLI args to avoid process list exposure - Improve error messages for MariaDB export/import with alternatives - Update package doc to reflect dual DB support - DRY migration logic with shared migrateAllTables function |
||
|---|---|---|
| .. | ||
| config.json | ||
| inbound.go | ||
| outbound.go | ||
| panel.go | ||
| server.go | ||
| server_test.go | ||
| setting.go | ||
| setting_test.go | ||
| tgbot.go | ||
| turnstile.go | ||
| user.go | ||
| user_test.go | ||
| warp.go | ||
| xray.go | ||
| xray_setting.go | ||