# Can't use doctrine migrations with service manager

**URL:** <https://discourse.laminas.dev/t/cant-use-doctrine-migrations-with-service-manager/3510>\
**Category:** 3rd-Party Tools & Libraries\
**Tags:** laminas-servicemanager, doctrine, psr-container-doctrine\
**Created:** [October 24, 2023, 8:42pm UTC](https://discourse.laminas.dev/t/cant-use-doctrine-migrations-with-service-manager/3510 "2023-10-24T20:42:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![froschdesign](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/froschdesign/32/38_2.png) [@froschdesign](https://discourse.laminas.dev/u/froschdesign)\
**Post date:** [October 24, 2023, 8:54pm UTC](https://discourse.laminas.dev/t/cant-use-doctrine-migrations-with-service-manager/3510/2 "2023-10-24T20:54:00Z")

</div>

Hello and welcome to our forums! 😃

Please see the hint in another thread on this topic:

> [@Doctrine Migrations do not work in Mezzio](https://discourse.laminas.dev/t/doctrine-migrations-do-not-work-in-mezzio/1635/2):
>
> Hey, the docs at [https://github.com/Roave/psr-container-doctrine#using-the-doctrine-cli](https://github.com/Roave/psr-container-doctrine#using-the-doctrine-cli) don’t seem to be complete indeed: can you try with vendor/bin/doctrine-migrations?

---

_[View the full topic](https://discourse.laminas.dev/t/cant-use-doctrine-migrations-with-service-manager/3510)._
