netlogix/migrations-neos

Custom neos migrations

1.1.0 2022-05-24 07:08 UTC

This package is auto-updated.

Last update: 2024-11-24 12:59:00 UTC


README

This package provides a simple abstraction layer to execute Neos node migrations with the Netlogix.Migrations package.

Usage

Simply create a new Migration file that extends Netlogix\Migrations\Neos\Domain\Migration\NodeMigration, then use $this->addMigrationVersion('...') to add your Node migration.

<?php
declare(strict_types=1);

namespace Netlogix\Migrations\Persistence\Migrations;

use Netlogix\Migrations\Neos\Domain\Migration\NodeMigration;

class Version20200909170000 extends NodeMigration
{

    public function up(): void
    {
        $this->addMigrationVersion('20200909170000');
    }

}