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
F3512922: D12049.id40951.diff
Sat, Dec 21, 9:00 PM
F3512921: D12049.id40933.diff
Sat, Dec 21, 9:00 PM
F3512920: D12049.id40885.diff
Sat, Dec 21, 9:00 PM
F3512919: D12049.id40290.diff
Sat, Dec 21, 9:00 PM
F3512918: D12049.id40209.diff
Sat, Dec 21, 9:00 PM
F3512916: D12049.id.diff
Sat, Dec 21, 9:00 PM
F3512915: D12049.diff
Sat, Dec 21, 8:59 PM
Unknown Object (File)
Sun, Dec 15, 12:45 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