chomenko/migrations

There is no license information available for the latest version (v1.1.1) of this package.

Doctrine migrations from Nette Framework

Installs: 501

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:extensions

v1.1.1 2019-03-18 17:16 UTC

This package is auto-updated.

Last update: 2024-10-19 11:13:28 UTC


README

Doctrine migrations form Nette Framework.

This extension allows import data independently from a schema change and maintain version import data.

Why is created? This extension is suitable for management migrations in the bundles.

Required:

Install

composer require chomenko/migrations

Configuration

Register extensions

extensions:
	console: Kdyby\Console\DI\ConsoleExtension
	migrations: Chomenko\Migrations\DI\MigrationsExtension 

Settings:

migrations:
    table: doctrine_migrations
    column: version
    directory: %appDir%/../Migrations
    dataDirs: []
    namespace: Migrations
    dataNamespace: MigrationsData

Commands

Commands list. php www/index.php list

.docs/commands.PNG