No description, website, or topics provided.
PHP Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
copy-database.sh
delete-test-database.sh
setup-multiple-test-databases.php

README.md

Clone Databases

Clone Databases are helpfull scripts that help you clone a database along with the containing data.

Getting Started & Documentation

It's a set of scripts that, combined with Zend Framework, can clone and/or drop the database you have set on your 'database.ini' file.

Commands

Below you can find all the commands, which are available.

Clone databases

Depending on the variable 'parallel_processes' you have set on your projects 'database.ini', running the following will clone the database.

$ php scripts/db/setup-multiple-test-databases.php

Clone databases

Run delete-test-database.sh with 3 params:

  • database name
  • from number
  • to number
$ sh delete-test-database.sh dbname 1 10

Contribution

Updates and improvements are more than welcome!