feat: add row count mismatch error handling in processMigrationJob and update SQL query to exclude additional graph-related columns

This commit is contained in:
2026-04-16 12:46:55 -05:00
parent 67fb0148ae
commit 0d0511716f
2 changed files with 6 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ JOIN sys.types t ON c.user_type_id = t.user_type_id
LEFT JOIN sys.types bt ON t.is_user_defined = 1 AND bt.user_type_id = t.system_type_id
JOIN sys.tables st ON c.object_id = st.object_id
JOIN sys.schemas s ON st.schema_id = s.schema_id
WHERE s.name = @schema AND st.name = @table AND c.name NOT LIKE 'graph_id%'
WHERE s.name = @schema AND st.name = @table AND c.name NOT LIKE 'graph_id%' AND c.name NOT LIKE 'node_id%' AND c.name NOT LIKE 'edge_id%'
ORDER BY c.column_id;`
type rawColumnMssql struct {