Skip to content

Support multiple DBs for loading/dumping of schema_migrations/

Thong Kuah requested to merge multiple_db_schema_migratons into master

What does this MR do?

Make db/schema_migrations/ aware of multiple databases, and clean structure sql for for db/ci_structure.sql

In !64289 (merged), we introduced new db/ci_structure.sql for new ci database. But we disabled separate schema migrations, and cleaning because those helpers did not support multiple databases. This MR introduces that, and re-enables separate schema migrations, and cleaning for db/ci_structure.sql

Related issue: #334232 (closed)

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Thong Kuah

Merge request reports

Loading