This Scripts can synchronization database from remote to local and local to remote from console in your project
- Need move all this file to the project folder
- Use composer need run command 'composer init'
- Use composer command 'composer update'
- Change access to DB in the file sync (local, remote)
- After that use console command php sync -h - this command show you all methods and parameters what you needed
- For run sync you need use console command php sync run
- If you run this command php sync run you start method 'LOCAL => SERVER'
- SYNC have two method(type) (1, 2).
- First method(type) 1(default) LOCAL => SERVER;
- Second method(type) 2 - 'SERVER => LOCAL';
- php sync run 1 = LOCAL => SERVER
- php sync run 2 = SERVER => LOCAL