Skip to content

Make sure CI job `db:check-schema` can catch corrupted `structure.sql`

Lin Jen-Shin requested to merge 343978-verify-schema into master

What does this MR do and why?

Make sure CI job db:check-schema can catch corrupted structure.sql.

This is done by migrating to the previous major version in db:check-schema and then run migrations, it'll only be basing on db/structure.sql from last major version rather than blindly using the currently committed db/structure.sql.

See #343978 (closed) for details.

Side notes

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #343978 (closed)

Edited by Lin Jen-Shin

Merge request reports

Loading