HomePhabricator
Diffusion Comm d6d8d733cb12

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

Description

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

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.

Reviewers: kamil, marcin, varun

Reviewed By: marcin

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D12049

Details

Provenance
tomekAuthored on May 14 2024, 3:58 AM
Reviewer
marcin
Differential Revision
D12049: [lib] Add a way of marking migrations as schema-changing
Parents
rCOMMd83cc6dbb473: [lib] Extract a function that runs the migrations
Branches
Unknown
Tags
Unknown