cakephp / cakephp/phinx

Document migration consolidation procedure

Open
#2,008 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs feature
Dominant language
PHP
Stars
4.5k
Forks
884
PR merge metrics
No merged PRs in 30d

Description

Even if there is no formal command or other provision to support consolidation of migration files, it would still be useful to document a working procedure to achieve this. Migration consolidation is the normal process of reducing the number of migration files down to zero, or near-zero periodically, to eliminate old, obsolete migrations and speed up database seeding and migrations.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named in the issue. Review the repository’s existing migration and seeding documentation and identify the supported workflow for consolidating migration files. Done means a clear, reproducible procedure is documented, including how to reduce obsolete migrations without relying on an undocumented command.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
databases, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.