mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 13:25:49 +03:00
[GH-ISSUE #38] Template file limitations #161
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#161
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 @CodingPeak on GitHub (Feb 16, 2017).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/38
I'm trying to output the up and down sql code into a CodeIgniter Migrations file. This is a php file with a class with up and down methods.
It looks like the template file can't be used when there's actual PHP code in it. Is there a way past this? Or what is the exact reason this doesn't work?
Idea: how can we make it work? If we can't, note the limitations in the documentation.
@jasdeepkhalsa commented on GitHub (Nov 24, 2017):
Hi @CodingPeak,
Please give the idea in #43 a try and let me know if it works. Of course this assumes a similar
executecommand is supported in CodeIgniter which can just execute the raw SQL produced by DBDiff.I'm closing this ticket for now, but please re-open if you still think there's some limitation here.