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)
Wed, Jun 19, 12:55 PM
Unknown Object (File)
Mon, Jun 17, 10:31 PM
Unknown Object (File)
Mon, Jun 17, 10:30 PM
Unknown Object (File)
Mon, Jun 17, 10:29 PM
Unknown Object (File)
Fri, Jun 14, 5:19 PM
Unknown Object (File)
Wed, Jun 12, 4:37 PM
Unknown Object (File)
Mon, Jun 10, 9:26 AM
Unknown Object (File)
Mon, Jun 10, 5:56 AM
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