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, Dec 15, 12:45 PM
Unknown Object (File)
Mon, Dec 9, 3:00 PM
Unknown Object (File)
Fri, Nov 29, 8:41 AM
Unknown Object (File)
Nov 3 2024, 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
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