mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 13:25:49 +03:00
[GH-ISSUE #43] Migration PHINX #168
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DBDiff#168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SoftSolid on GitHub (Mar 17, 2017).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/43
Hello
Perhaps to add automatic generation of file migration PHINX?
Robert.
@jasdeepkhalsa commented on GitHub (Nov 24, 2017):
Hi Robert,
This should be really straight-forward.
In templates, add a new one called something like
phinx.tmpland add the following to that:You'll probably also have to specific this as a php file using the
--outputflag on the command-line:--output=./output-dir/migration.phpIf this works, let me know and I'll add it to the core code-base for others to benefit from!
@SoftSolid commented on GitHub (Nov 24, 2017):
Hello jhbsk
We dealt with the problem earlier. Thank you.Good job. We made some changes and used your program to create phinx migration for our jobs.
If we have time we will try to prepare a pull request to improve the tool.
Robert.
@jasdeepkhalsa commented on GitHub (Nov 24, 2017):
@SoftSolid That's great to hear! If you have any examples of the templates and commands you used feel free to post here!
@jasdeepkhalsa commented on GitHub (Nov 24, 2017):
Yep a PR would be great too!