yiisoft / yiisoft/db-migration
Suggest list of commands for Yii 3.0 migration tool.
Open
Nobody has claimed this yet.
status:under discussion
- Dominant language
- PHP
- Stars
- 32
- Forks
- 18
- Avg merge
- 22h 18m
- Merged PRs (30d)
- 2
Description
- generate/create - Creates a new migration.
- database/list - List all tables from database.
- migrate/up - Upgrades the application by applying new migrations.
- migrate/down - Downgrades the application by reverting old migrations.
- migrate/fresh - Drops all tables and related constraints. Starts the migration from the beginning.
- migrate/history - Displays the migration history.
- migrate/redo - Redoes the last few migrations.
You can suggest more commands.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing migration-tool command implementations for generate/create, database/list, migrate/up, and migrate/down. Define the scope of migrate/fresh from the issue: drop all tables and related constraints, then restart migrations from the beginning; the issue names no files or tests, so the relevant entry points and verification approach must first be located.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100