Airtable JSON API exports and CSV downloads silently drop unchecked checkboxes, bury record IDs inside nested wrappers, and stringify linked records. Migrate-Anything compiles Airtable exports into strict PostgreSQL DDL with junction tables and row-level SHA-256 Merkle proofs.
| Export Trap | Silent Data Loss Risk | Migrate-Anything Fix |
|---|---|---|
Nested fields envelope |
Naive JSON flatteners discard top-level record.id (rec...) and createdTime, breaking every foreign key. |
Hoists record.id to _airtable_record_id (PRIMARY KEY) and createdTime to _airtable_created_time (TIMESTAMPTZ). |
| Omitted falsy keys | Unchecked checkboxes (false), empty arrays, and empty strings are omitted from individual record dicts, causing column drift and hash mismatches. |
Profiles the union of all keys across the entire dataset first and materializes omitted booleans as false and nullable cells as NULL. |
| Linked record ID arrays | Saving ["recA", "recB"] as comma text prevents SQL joins and breaks referential integrity. |
Emits normalized junction table DDL (<table>_<field>_links) or TEXT[] / JSONB with FK verification. |
| Attachment signed URLs | Airtable CDN URLs expire after ~2 hours; storing only the URL loses filename, MIME type, and byte size. | Preserves full attachment JSON objects (id, filename, size, type) in JSONB and emits attachment_url_ephemeral. |
| Formula & Rollup columns | Importing derived fields as mutable columns causes application write divergence. | Flags computed columns with read_only_snapshot: true in the inferred schema metadata. |
-- Generated from Airtable {"records": [{"id": "recAlpha987", "createdTime": "2026-11-28T10:00:00Z", "fields": {...}}]}
CREATE TABLE airtable_projects (
_airtable_record_id TEXT PRIMARY KEY,
_airtable_created_time TIMESTAMPTZ NOT NULL,
name TEXT NOT NULL,
is_approved BOOLEAN NOT NULL DEFAULT FALSE,
budget_usd NUMERIC(18, 2) NOT NULL,
tags JSONB NOT NULL DEFAULT '[]'::jsonb
);
CREATE TABLE airtable_projects_linked_owners_links (
source_record_id TEXT NOT NULL REFERENCES airtable_projects(_airtable_record_id),
target_record_id TEXT NOT NULL,
PRIMARY KEY (source_record_id, target_record_id)
);
422 = $0 Charged)curl -sS -X POST https://migrate.fastmesh.dev/v1/migrate \
-H "Content-Type: application/json" \
-d '{
"source_format": "airtable",
"target_format": "postgres_ddl",
"table_name": "airtable_projects",
"source_data": {
"records": [
{"id": "recAlpha987", "createdTime": "2026-11-28T10:00:00.000Z", "fields": {"Name": "Cloud Escape", "IsApproved": true, "BudgetUSD": 4950.25, "Tags": ["Postgres", "Lossless"], "LinkedOwners": ["recOwner001"]}},
{"id": "recBeta123", "createdTime": "2026-11-29T12:15:00.000Z", "fields": {"Name": "CRM Cleanup", "BudgetUSD": 1200.00, "Tags": ["CSV"]}}
]
}
}'
In the response, inspect checksum_receipt.source_row_merkle_sha256 == checksum_receipt.target_row_merkle_sha256 and lost_rows_count == 0, then execute the returned migration_script_py. All processing runs strictly in memory with zero customer data retention.
POST /mcp (migrate_execute).