Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate:rollback/DatabaseMigrations Trait #121

Closed
loren138 opened this issue Aug 11, 2016 · 1 comment
Closed

Migrate:rollback/DatabaseMigrations Trait #121

loren138 opened this issue Aug 11, 2016 · 1 comment
Milestone

Comments

@loren138
Copy link
Contributor

I was wondering if their was a reason that rollback was left out of the database commands updated for use with the realpath attribute, and if you had considered implementing something like the DatabaseMigrations trait in Laravel for tests. (The arguments would have to come from a test class property or getter function.)

I reimplemented the trait for my own use (using migrate:refresh) since migrate:rollback was unavailable. If you would be interested in them, I could port the trait into testbench and contribute it as a pull request. If not or if you would rather implement it yourself or have a reason you don't want it, that's fine.

@crynobone
Copy link
Member

crynobone commented Aug 11, 2016

You can send the PR, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants