---
title: "Task: Write migrations without deprecated schema calls"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:task-1791144621@main"
source: "Changelog/1.0.0/Task-1791144621-MigrationsWithoutDeprecatedSchemaCalls.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Task: Write migrations without deprecated schema calls {#task-1791144621}

## Description {#description}

Doctrine DBAL 4.5 deprecates changing a `Table` or `Schema` in place, but Doctrine Migrations still compares
the schema it hands to a migration. Migrations now extend `SchemaMigration` of the core and declare their
tables with `createTable()`, `alterTable()` and `dropTable()`; the base class builds them with DBAL's
editors and lets the platform write the SQL. Tables hidden from Doctrine by the schema filter (such as
`access_log`) are addressed by name, so migrating down works again.

## Impact {#impact}

Every migration produces the same schema as before on MariaDB, PostgreSQL and SQLite. A package's new
migration extends `SchemaMigration`.
