finally-a-fast/fafcms-updater

This package is abandoned and no longer maintained. No replacement package was suggested.

Yii2 Extension for creating update scripts like a migration.

v0.1.0-alpha 2020-09-29 08:00 UTC

This package is auto-updated.

Last update: 2022-04-09 17:54:01 UTC


README

Latest Stable Version Latest Version PHP Version License Total Downloads Yii2

A Yii2 Extension for creating and running update-scripts like a migration.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require finally-a-fast/fafcms-updater

or add

"finally-a-fast/fafcms-core": "dev-master"

to the require section of your composer.json file.

Documentation

To initialise the database table run:

./yii migrate --migrationPath=@vendor/finally-a-fast/fafcms-updater/src/migrations

To create a new Update Class run:

./yii update/create <name>

To run the update run:

./yii update <number-of-updates>

Full documentation will be added soon at https://www.finally-a-fast.com/.

License

fafcms-updater is released under the MIT License. See the LICENSE.md for details.