Page MenuHomePhabricator

Migrate RefCursor data to RefPosition table
ClosedPublic

Authored by epriestley on Sep 15 2017, 3:28 PM.
Tags
None
Referenced Files
F17802336: D18612.id44692.diff
Fri, Jul 25, 8:59 AM
F17800740: D18612.id.diff
Fri, Jul 25, 6:53 AM
F17730100: D18612.id44683.diff
Sat, Jul 19, 9:01 PM
F17720177: D18612.diff
Fri, Jul 18, 5:08 AM
F17674642: D18612.id.diff
Sun, Jul 13, 7:27 AM
F17616452: D18612.id.diff
Wed, Jul 9, 3:06 PM
Unknown Object (File)
Jun 29 2025, 4:51 AM
Unknown Object (File)
Jun 25 2025, 7:29 AM
Subscribers
None

Details

Summary

Ref T11823. This populates the new RefPosition table based on the existing RefCursor table, and deletes now-duplicate rows in the RefCursor table so the next change can add a unique key.

This change is not standalone, and there need to be separate code updates. I have a rough version of that written, but this migration needs to happen first to test it.

I'll hold this whole series of changes until after the release cut and until the code is updated.

Test Plan

Ran migration, spot-checked database tables. Saw redundant rows remove and correct-looking rows populated into the new RefPosition table.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable