Download the PHP package ganeshkandu/kdbv without Composer
On this page you can find all versions of the php package ganeshkandu/kdbv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ganeshkandu/kdbv
More information about ganeshkandu/kdbv
Files in ganeshkandu/kdbv
Package kdbv
Short Description mysql database auto schema migration tool
License GPL-3.0
Informations about the package kdbv
mysql database auto schema migration tool
how it works
is Compare the structure of old database and latest database structure and make required queries to migrate old database
- Create database
- dbv database is a single file witch contains database structure
- its created using function
- function is Compare the contents of your old databases with file ( witch contains latest database structure ) and Automate your data migrations from old to latest
- using function you can get all sql queries. that need to migrate database
- its return array of queries
Give star to library if you like STAR++
Features
- Upgrade - Database Upgrade
- Easy - Extremely easy to learn and use
Requirement
PHP 5.3+ and PDO extension installed
Get Started
Installation
This library is designed to be installed via Composer.
Add the dependency into your projects composer.json.
Download the composer.phar
Install the library.
or
To add in in your dependencies
Auto loading
This library requires an autoloader, if you aren't already using one you can include Composers autoloader.
Usage
steps to perform
- Create using function of your
- deploy with your application
- You can simply overwrite latest version of your application on your old version of application ( NOTES latest version is deployed with and )
- now you have your latest changed files with your old database which need to be update to new changes database structure
- now your database using function
- ALL DONE ENJOY
- if you getting any issue create an issue
step 1
Instantiate & load()
is a name of which to be deploy with your application ( kdbv database contain database structure of your latest application )
step 2
use of step 1
create
step 3
use of step 1
Get Mysql Upgrade Queries
or
Upgrade mysql database
Best practices
- run all time you when you release new application version with change database structure
Maintainers
All versions of kdbv with dependencies
ext-pdo Version *
ext-json Version *