Copied!

Migrations

Interfaces, classes, traits, and enumsΒΆ

  • IbexaMigrationInterface

    Interface representing an Ibexa-internal Doctrine migration.

  • IbexaMigrationTag

    Holds the Symfony service tag used to register Ibexa-internal Doctrine migrations.

  • IbexaOnlyDependencyFactory

    Holds the service ID of a {@see DependencyFactory} that behaves like the application's own "doctrine.migrations.dependency_factory" β€” a clone of its {@see Configuration} (carrying an Ibexa-specific migration template, so "ibexa:doctrine:migrations:generate"/"...:diff" scaffold classes shaped like real Ibexa migrations, never the application's own default stub) and the same logger β€” except it always runs against the "ibexa.persistence.connection" {@see Connection}, and its {@see MigrationsRepository} is always the one identified by {@see IbexaOnlyMigrationsRepository::SERVICE_ID}. Every other dependency it lazily builds (metadata storage, migrator, plan calculator, version comparator, ...) is a fresh instance, built from those, and shared by nothing else.

  • IbexaOnlyMigrationsRepository

    Holds the service ID of the {@see MigrationsRepository} that exposes ONLY migrations tagged with {@see IbexaMigrationTag::TAG}, without decorating any inner (e.g. project-level) repository β€” unlike the default repository, which combines both.

  • SqlPlatform

    Database platforms an {@see AbstractSqlMigration} can target.