Oihana PHP Arango

migrations

Table of Contents

Namespaces

enums
helpers

Classes

Migration
The contract of a versioned migration — one concrete subclass per evolution, named `Version<timestamp>_<Label>` and stored in the host project's migrations folder.
MigrationAction
The tracking document of a migration run — one row per applied version in the `migrations` collection of a database.
MigrationGenerator
Generates a new migration file — the `migrate --create` boilerplate, with no database dependency (it only writes a file).
MigrationRunner
The migration engine — discovers the version files, compares them with the tracking collection of the database, and applies / rolls back the difference.
MigrationStore
The persistence of the tracking collection — the bookkeeping half of the migration engine.
On this page

Search results