2017 © Pedro Peláez
 

library yadup

Database updator for Nette/Tracy panel

image

meridius/yadup

Database updator for Nette/Tracy panel

  • Monday, March 9, 2015
  • by meridius
  • Repository
  • 1 Watchers
  • 0 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

Yadup - Yet Another Database Updator Panel

Database updator for Nette/Tracy panel, (*1)

How to

For Nette 2.2 support please see the bottom., (*2)

  1. Use the following Composer command in your existing project to add Yadup to it:, (*3)

    composer require meridius/yadup
  2. Register the extension by adding the following to your config.neon (1st level):, (*4)

    extensions:
        yadup: Yadup\YadupExtension
  3. And at last don't forget to create directory for SQL updates files. Default is %appDir%/sql as specified below., (*5)

Further configuration

You can tailor the updator to your needs by creating a new section yadup in config.neon (on the same level as extensions). Accepted parameters with their default values are following:, (*6)

yadup:
    dbUpdateTable: '_db_update'
    dbConnection: '@database.default'
    definerUser: '' # definer can be changed only in queries that already have one defined
    definerHost: ''
    sqlDir: '%appDir%/sql' # directory with sql script files
    sqlExt: '.sql' # extension of sql files; with 'dot'

Notes

For updator to work it is setting its own mapping to Yadup\\*Module\\*Presenter which shouldn't affect you in any way., (*7)

Full DB update in used terminology is the one that should contain DROP DATABASE or at least DROP TABLE to prevent possible incompatibilities with consequent updates., (*8)

File naming format for SQL update files is Y-m-d_H-i-s[_full].sql, (*9)

Nette 2.2 support

Because of incompatible changes in Nette/Database 2.3 the support for 2.2 version is moved to the separate Yadup 1.0 version which will receive support for at least some time., (*10)

Installation

    composer require "meridius/yadup ~1.0.0"

Further configuration

Same as above, instead of:, (*11)

yadup:
    dbConnection: '@nette.database.default'

The Versions

09/03 2015

dev-master

9999999-dev https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

09/03 2015

dev-develop

dev-develop https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

09/03 2015

1.1.2

1.1.2.0 https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

09/03 2015

1.1.1

1.1.1.0 https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

09/03 2015

1.1

1.1.0.0 https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

08/03 2015

dev-support/1.0.x

dev-support/1.0.x https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

08/03 2015

1.0.6

1.0.6.0 https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

08/03 2015

1.0.5

1.0.5.0 https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

01/02 2015

1.0.4

1.0.4.0 https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

01/02 2015

1.0.3

1.0.3.0 https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

16/12 2014

1.0.2

1.0.2.0 https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

14/12 2014

1.0.1

1.0.1.0 https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator

24/11 2014

1.0

1.0.0.0 https://github.com/meridius/yadup

Database updator for Nette/Tracy panel

  Sources   Download

Apache-2.0

The Requires

 

database db nette panel tracy yadup updator