| name | eddytor-migration |
| description | Migrates data into Eddytor from Excel, Microsoft MDS, SQL databases, and other MDM tools with schema mapping and validation. Activates for migration, moving data from external systems, replacing MDS, importing from databases, ETL, or switching to Eddytor — even without the word "migration."
|
| license | CC-BY-NC-4.0 |
| metadata | {"author":"eddytor","version":"1.0"} |
Migration to Eddytor
Default procedure (applies to all sources)
- Export source data as CSV (one file per entity/sheet)
infer_schema → review types and domain candidates
- Import reference/lookup tables first (e.g., Categories, Countries)
- Set domains on reference tables
- Import dependent tables → set reference domains pointing to step 3 tables
validate_constraints + validate_domain_values on every table
profile_table → verify row counts match source
Always import bottom-up: reference tables → main entities → cross-references.
From Excel
Export each sheet as CSV, then follow the default procedure.
Excel gotchas
- Merged cells: unmerge before exporting — merged values appear only in first row
"001234" becomes 1234 as numeric — ensure Utf8 type for IDs with leading zeros
- Standardize dates to ISO format before export — mixed formats cause type inference issues
- Formulas: "Paste as Values" before export
- Multiple sheets = multiple tables — plan names and relationships upfront
From Microsoft MDS
MDS concepts map to Eddytor as follows:
| MDS | Eddytor |
|---|
| Entity | Table |
| Attribute | Column |
| Domain-based attribute | Reference domain |
| Business rule | Check constraint + domain |
| Code | Primary key |
| Hierarchy | Hierarchical domain |
MDS procedure
- Export entities as CSV from MDS web UI or staging tables
- Map attribute types:
Text → Utf8, Number → Int64/Float64, DateTime → Timestamp
- Import reference entities first → set domains
- Import dependent entities → set reference domains
- Translate business rules to check constraints
- Full validation pass
From SQL databases
Export to CSV via database tools. Tips:
- Include headers, use ISO date format, UTF-8 encoding
- Handle NULLs explicitly
- For large tables, export in batches by PK range
Post-migration checklist