Skip to content

This Scripts can synchronization database from remote to local and local to remote from console in your project

Notifications You must be signed in to change notification settings

seriklav/synchronization_db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synchronization DB (SYNC)

This Scripts can synchronization database from remote to local and local to remote from console in your project

Settings

  • 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

Explanation

  • 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';

USES

  • php sync run 1 = LOCAL => SERVER
  • php sync run 2 = SERVER => LOCAL

About

This Scripts can synchronization database from remote to local and local to remote from console in your project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages