2017 © Pedro Peláez
 

library db-versioning

DBVersioning is a database versioning tool created to help teams working with local database.

image

syu93/db-versioning

DBVersioning is a database versioning tool created to help teams working with local database.

  • Saturday, May 21, 2016
  • by syu93
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

    ____  ____ _    __               _             _            
   / __ \/ __ ) |  / /__  __________(_)___  ____  (_)___  ____ _
  / / / / __  | | / / _ \/ ___/ ___/ / __ \/ __ \/ / __ \/ __ `/
 / /_/ / /_/ /| |/ /  __/ /  (__  ) / /_/ / / / / / / / / /_/ / 
/_____/_____/ |___/\___/_/  /____/_/\____/_/ /_/_/_/ /_/\__, /  
                                                       /____/   version 0.0.1

DBVersioning - PHP-based database versioning

Install:

Clone DBVersioning from github:, (*1)

    $ git clone https://github.com/syu93/DBVersioning.git

Note: To install it globaly, copy the bin/dbversioning and dbversioning.php scripts in your bin folder: /usr/local/bin., (*2)

Then it done. Juste run:, (*3)

    $ php dbversioning.php [commands] [options]

Or if you have installed it globaly:, (*4)

    $ dbversioning [commands] [options]

NOTE: Add the dbv/data/meta folder to you ..gitignoire or any source management system. And the /dbv/data/dbv.json as well., (*5)

Usage:

We assume you're using one of the two install methods. So we omit the tool name before the command.Refer above for more explanation., (*6)

    $ command [options] [arguments]
    $ command -H for help.

For exemple:, (*7)

    $ dbversioning init -H

Will print:, (*8)

Usage:
    init [options]
Options:
  -d    Database name.
  -h    Server host name. Default: localhost.
  -u    Database user. Default: root.
  -p    Database password.
  -t    [optional] The table to export.
  -T    [optional] The list of table to export
  --path  [optional] The dbv folder path. Default: dbv
Help:
    The init command initialize DBVersioning by reading and saving database records in the 'dbv/data/records/table_name.json'.

Options:

    -v          Display the application version.

    -h, --help  Display this help message.

The following commands are currently supported:

    init    Initialize DBVersioning by reading and saving records.

    update      Update saved records

    diff    Create the revision file to update the database

The Versions

21/05 2016

dev-develop

dev-develop

DBVersioning is a database versioning tool created to help teams working with local database.

  Sources   Download

MIT

The Requires

  • ext-pdo_mysql ^1.0
  • php ^5.0

 

by Avatar syu93

02/05 2016

dev-master

9999999-dev

DBVersioning is a database versioning tool created to help teams working with local database.

  Sources   Download

MIT

The Requires

  • ext-pdo_mysql ^1.0
  • php ^5.5

 

by Avatar syu93

02/05 2016

0.0.1.beta

0.0.1.0-beta

DBVersioning is a database versioning tool created to help teams working with local database.

  Sources   Download

MIT

The Requires

  • ext-pdo_mysql ^1.0
  • php ^5.5

 

by Avatar syu93