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

Recreate database from backup #154

Open
ddeboer opened this issue Jun 6, 2014 · 1 comment
Open

Recreate database from backup #154

ddeboer opened this issue Jun 6, 2014 · 1 comment

Comments

@ddeboer
Copy link

ddeboer commented Jun 6, 2014

Several libraries, such as LiipFunctionalTestBundle, h4ccAliceFixturesBundle and VIPSoft DoctrineDataFixturesExtension, provide their own implementation of:

  • recreating the database between tests
  • restoring the database from a backup, e.g. by copying a file (for SQLite) or doing a mysqldump (for MySQL)

Would this functionality be in the scope of doctrine/data-fixtures? If so, I would be willing to extract the implementations and add them here. We can then try to convince the separate implementors to use the ‘official’ one instead, which will ease future maintainability. What do you think?

@lavoiesl
Copy link
Member

Could this feature be part of a separate library that would add a command wrapping data-fixtures?

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

No branches or pull requests

2 participants