Download the PHP package dragon-code/migrate-db without Composer
On this page you can find all versions of the php package dragon-code/migrate-db. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dragon-code/migrate-db
More information about dragon-code/migrate-db
Files in dragon-code/migrate-db
Package migrate-db
Short Description Easy data transfer from one database to another
License MIT
Informations about the package migrate-db
Migrate DB for Laravel
Easy data transfer from one database to another
Installation
To get the latest version of Migrate DB
, simply require the project using Composer:
Or manually update require-dev
block of composer.json
and run composer update
.
Compatibility
Service | Versions |
---|---|
PHP | ^8.0 |
Laravel | ^8.0, ^9.0, ^10.0, ^11.0 |
Databases | MySQL 5.7+, PostgreSQL 9.5+, MSSQL |
Laravel \ PostgreSQL | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
---|---|---|---|---|---|---|---|
8 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
9 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
10 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
11 | ✖️ | ✖️ | ✖️ | ✅ | ✅ | ✅ | ✅ |
Usage
Create a new database and set up both connections in the connections
section of
the config/database.php file, then run the db:migrate
console command passing two
parameters:
Only Specific Tables
Exclude Specific Tables
where:
foo
- Source connection namebar
- Target connection name
Follow on screen instructions and then command will perform all migrations on the source and destination databases and transfer all records from the old to the new one.
Enjoy 😊
License
This package is licensed under the MIT License.
All versions of migrate-db with dependencies
ext-pdo Version *
doctrine/dbal Version ^3.0
dragon-code/contracts Version ^2.15
dragon-code/support Version ^6.0
illuminate/contracts Version ^8.0 || ^9.0 || ^10.0 || ^11.0
illuminate/database Version ^8.0 || ^9.0 || ^10.0 || ^11.0
illuminate/support Version ^8.0 || ^9.0 || ^10.0 || ^11.0