Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
![]() ![]() | Total: 313 | All time: 7,286 This week: 455![]() |
Version | License | PHP version | Categories | |||
migration_database 0.0.1 | GNU General Publi... | 5 | PHP 5, Databases, Systems administration |
Description | Author | ||||||||||||||
This class can migrate data that match conditions between tables. Innovation Award |
|
migrate yours data between databases, easy and fast you can migrate datas of the a database sorce fro database clone or just table of the source database.
Define the server source and the serve that clone in you database
"src" => [
"user" => "",
"host" => ".db.4855800.hostedresource.com",
"pass" => "@",
"database" => ""
],
"clone" => [
"user" => "dev",
"host" => "localhost",
"pass" => "@",
"database" => ""
],
];
$migdb = new Migration_Database($ar);
$migdb->migrate(["table"=>"qualidade", "pk"=>['pk1', 'pk2'], "where"=>["key"=>"value"]]);```
![]() |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() ![]() |
Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | User Comments (3) | ||||||||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.