Skip to content

Commit c1cda4d

Browse files
committed
Comment out manual steps from migration
1 parent f6a23f0 commit c1cda4d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

sql/2025-01-24_migrate-serialized-entities.sql

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ CREATE TABLE migrate_serialized_queue_unsandboxed (
4545
-- AFTER the automated migration is done, you'll need to run the following add the appropriate mappings from user
4646
-- id to serialized component
4747

48-
INSERT INTO serialized_components (user_id, component_hash_id, bytes_id)
49-
SELECT summaries.user_id AS user_id, summaries.component_hash_id AS component_hash_id, serialized.serialized_component_bytes_id AS bytes_id
50-
FROM user_component_summary_digest summaries
51-
JOIN component_summary_digests_to_serialized_component_bytes_hash serialized
52-
ON summaries.component_summary_digest = serialized.component_summary_digest AND summaries.component_hash_id = serialized.component_hash_id;
48+
-- INSERT INTO serialized_components (user_id, component_hash_id, bytes_id)
49+
-- SELECT summaries.user_id AS user_id, summaries.component_hash_id AS component_hash_id, serialized.serialized_component_bytes_id AS bytes_id
50+
-- FROM user_component_summary_digest summaries
51+
-- JOIN component_summary_digests_to_serialized_component_bytes_hash serialized
52+
-- ON summaries.component_summary_digest = serialized.component_summary_digest AND summaries.component_hash_id = serialized.component_hash_id
53+
-- ON CONFLICT DO NOTHING;
5354

0 commit comments

Comments
 (0)