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
Unknown Object (File)
Sun, Nov 3, 10:16 AM
Unknown Object (File)
Oct 14 2024, 11:30 AM
Unknown Object (File)
Oct 12 2024, 6:04 PM
Unknown Object (File)
Oct 12 2024, 6:04 PM
Unknown Object (File)
Oct 12 2024, 6:04 PM
Unknown Object (File)
Oct 12 2024, 6:04 PM
Unknown Object (File)
Oct 12 2024, 6:04 PM
Unknown Object (File)
Oct 12 2024, 6:04 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
No Lint Coverage
Unit
No Test Coverage

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