This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
DataMigration/files/custom/Espo/Modules/DataMigration/Resources/routes.json
T
chaim 078b2e6051 fix: toDb() crash on import + add snapshot before import
- Fix: replace QueryComposer::toDb() (protected) with camelCaseToUnderscore
  for table name resolution — was causing 500 on real import
- Feat: optional database snapshot (mysqldump) before import with UI checkbox
  (checked by default). Snapshot saved to data/backups/snapshot-{timestamp}/
- Feat: skip entity types whose module is not installed (import resilience)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 20:14:08 +00:00

33 lines
981 B
JSON

[
{
"route": "/DataMigration/action/status",
"method": "get",
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\Status"
},
{
"route": "/DataMigration/action/export",
"method": "post",
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\Export"
},
{
"route": "/DataMigration/action/import",
"method": "post",
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\Import"
},
{
"route": "/DataMigration/action/listBackups",
"method": "get",
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\ListBackups"
},
{
"route": "/DataMigration/action/deleteBackup",
"method": "post",
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\DeleteBackup"
},
{
"route": "/DataMigration/action/snapshot",
"method": "post",
"actionClassName": "Espo\\Modules\\DataMigration\\Api\\Snapshot"
}
]