thedragoncode / migrate-db Goto Github PK
View Code? Open in Web Editor NEWEasy data transfer from one database to another
License: MIT License
Easy data transfer from one database to another
License: MIT License
Command doesn't create migration for table. In code it only transfer data from one database to another. For example in my case from PostgreSQL to MariaDB. But MariaDB has empty DB and I thought it must create migration and then insert all data from PostgreSQL, but this command only insert data and that's all. It doesn't make sense..
// paste result here
it doesn’t work with postgresql 10? Correct? 13 and up only?
...
...
In some cases databases can have string IDs like UUIDs or ULIDs. At the moment, these databases cannot be migrated.
Hey, I'm getting the error 'The "--schema-from" option does not accept a value' when trying to run the command provided in the readme. It happens for both the schema-from and schema-to options with any value. I took a look at the source code, and I think it happens because the command signature is missing '=' after the option names, which controls whether the option accepts values or not.
protected $signature = 'db:migrate' . ' {--schema-from : Source connection name}' . ' {--schema-to : Target connection name}';
I have added the equals signs after the option names locally and confirmed the command works fine after that. It looks like this
protected $signature = 'db:migrate' . ' {--schema-from= : Source connection name}' . ' {--schema-to= : Target connection name}';
Would you be interested in a pull request with this fix?
Install the package and run the command provided in the readme.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.