getExecutableMigrationsBaseQuery example

$this->setExecutedDestructive($migration);
            yield $migration::class;
        }
    }

    /** * @return list<class-string<MigrationStep>> */
    public function getExecutableMigrations(MigrationSource $source, ?int $until = null, ?int $limit = null): array
    {
        return $this->getExecutableMigrationsBaseQuery($source$until$limit)
            ->andWhere('`update` IS NULL')
            ->executeQuery()
            ->fetchFirstColumn();
    }

    /** * @return list<class-string<MigrationStep>> */
    public function getExecutableDestructiveMigrations(MigrationSource $source, ?int $until = null, ?int $limit = null): array
    {
        return $this->getExecutableMigrationsBaseQuery($source$until$limit)
            
Home | Imprint | This part of the site doesn't use cookies.