PHPackages                             fucodo/neos-media-migrationfix - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. fucodo/neos-media-migrationfix

ActiveNeos-package

fucodo/neos-media-migrationfix
==============================

0.1(2y ago)02.4k↓50%MITPHP

Since Dec 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/fucodo/neos.media.migrationfix)[ Packagist](https://packagist.org/packages/fucodo/neos-media-migrationfix)[ RSS](/packages/fucodo-neos-media-migrationfix/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Fixes issue #3899 of neos/media
===============================

[](#fixes-issue-3899-of-neosmedia)

Source
------

[](#source)

- [neos/neos-development-collection#3899](https://github.com/neos/neos-development-collection/issues/3899)

The motivation for this package
-------------------------------

[](#the-motivation-for-this-package)

After adding Neos Media with Composer and running ./flow doctrine:migrate, the following error occurs:

An exception occurred while executing

```
'ALTER TABLE typo3_media_domain_model_asset ADD CONSTRAINT FK_B8306B8EBC91F416 FOREIGN KEY (resource) REFERENCES typo3_flow_resource_resource (persistence_object_identifier)':
SQLSTATE[HY000]: General error: 1005 Can't create table `sampleonly`.`typo3_media_domain_model_asset` (errno: 150 "Foreign key constraint is incorrectly formed")

```

It seems like some of the older migrations in the package aren't working.

The solution for the problem
----------------------------

[](#the-solution-for-the-problem)

Modify the order of migration and disable all the migrations from the media package

requirements
------------

[](#requirements)

```
- Flow: ^7.3+ || 8.0

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

873d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c6681704a769ab93a20ba54d94054d0f3f1e81b99341e8cfa29d91f6d8f16fb?d=identicon)[kaystrobach](/maintainers/kaystrobach)

---

Top Contributors

[![kaystrobach](https://avatars.githubusercontent.com/u/1185776?v=4)](https://github.com/kaystrobach "kaystrobach (3 commits)")

### Embed Badge

![Health badge](/badges/fucodo-neos-media-migrationfix/health.svg)

```
[![Health](https://phpackages.com/badges/fucodo-neos-media-migrationfix/health.svg)](https://phpackages.com/packages/fucodo-neos-media-migrationfix)
```

###  Alternatives

[neos/neos

An open source Content Application Platform based on Flow. A set of core Content Management features is resting within a larger context that allows you to build a perfectly customized experience for your users.

116989.0k673](/packages/neos-neos)[neos/eel

The Embedded Expression Language (Eel) is a building block for creating Domain Specific Languages

122.0M27](/packages/neos-eel)[neos/media

The Media package

101.1M45](/packages/neos-media)[flowpack/media-ui

This module allows managing media assets including pictures, videos, audio and documents.

2184.5k2](/packages/flowpack-media-ui)[neos/flow-base-distribution

Flow Base Distribution

2159.5k](/packages/neos-flow-base-distribution)[avency/neos-vardump

Neos VarDump Package

147.1k](/packages/avency-neos-vardump)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
