Page MenuHomePhabricator

[lib] Add a way of marking migrations as schema-changing
ClosedPublic

Authored by tomek on May 15 2024, 5:11 AM.
Tags
None
Referenced Files
F3514882: D12049.id40290.diff
Sun, Dec 22, 6:50 AM
F3514784: D12049.id40933.diff
Sun, Dec 22, 6:34 AM
F3514720: D12049.id40209.diff
Sun, Dec 22, 6:17 AM
F3514686: D12049.id40951.diff
Sun, Dec 22, 6:10 AM
F3514636: D12049.id40885.diff
Sun, Dec 22, 5:58 AM
F3513674: D12049.diff
Sun, Dec 22, 1:25 AM
F3512922: D12049.id40951.diff
Sat, Dec 21, 9:00 PM
F3512921: D12049.id40933.diff
Sat, Dec 21, 9:00 PM
Subscribers

Details

Summary

When running the migrations check if any of them is marked as schema-changing.

https://linear.app/comm/issue/ENG-7493/add-a-way-of-marking-migrations-as-schema-changing

Depends on D12015

Test Plan

Add a log checking if schemaChanged is computed correctly. Add a migration without changesSchema and check if the value is false. Then add a migration that changesSchema and check if the value is true.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek requested review of this revision.May 15 2024, 5:28 AM
This revision is now accepted and ready to land.May 17 2024, 3:15 AM