2017 © Pedro Peláez
 

typo3-cms-extension koning-phinx

TYPO3 Extension: Phinx Integration - Phinx.org integration for Database Migrations

image

koninklijke-collective/koning-phinx

TYPO3 Extension: Phinx Integration - Phinx.org integration for Database Migrations

  • Thursday, February 9, 2017
  • by koninklijk
  • Repository
  • 1 Watchers
  • 1 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

TYPO3 Extension: Phinx Integration

  • Description: Phinx.org integration for Database Migrations
  • Extension key: koning_phinx
  • TER: http://typo3.org/extensions/repository/view/koning_phinx

Howto

Configure the extension as you would like; like example below:, (*1)

    $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['koning_phinx'] = [
        // Define paths outside PATH_site root
        'path_migrations' => '../database/migrations',
        'path_seeds' => '../database/seeds',
        // Enable extension migrations/seeds:Careful, this enables extension migrations! All enabled extensions with EXT:extension/Phinx/{Migrations,Seeds} directories.
        'include_extension_directories' => true,
    ];

Usage

You can use all the Phinx features with the following command;, (*2)

    # Get all options
    php typo3/cli_dispatch.phpsh koning_phinx list

    # Invoke migrations
    php typo3/cli_dispatch.phpsh koning_phinx migrate

    # Create migration
    php typo3/cli_dispatch.phpsh koning_phinx create SpecifyYourSpecificChangeAsTitle

    # Display status of all migrations
    php typo3/cli_dispatch.phpsh koning_phinx status

    # Invoke seeds
    php typo3/cli_dispatch.phpsh koning_phinx seed:run

    # Create seed
    php typo3/cli_dispatch.phpsh koning_phinx seed:create YourSeedTitle

The Versions

09/02 2017

dev-master

9999999-dev https://github.com/koninklijke-collective/koning_phinx

TYPO3 Extension: Phinx Integration - Phinx.org integration for Database Migrations

  Sources   Download

LGPL-3.0+

The Requires

 

typo3 cms phinx koning