Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3924

Previously executed migration are not registered migrations

$
0
0

I'm trying to update my database with those commands

php bin/console make:migration

this return success

But when I try

php bin/console doctrine:migrations:migrate

I have this error:

WARNING! You have 5 previously executed migrations in the database >>that are not registered migrations.

>> 2018-12-17 10:42:04 (20181217104204)>> 2018-12-17 13:19:24 (20181217131924)>> 2018-12-17 13:40:58 (20181217134058)>> 2018-12-18 10:41:38 (20181218104138)>> 2018-12-18 13:15:49 (20181218131549)

Thing is, the database listed here are not in my migrations table from my database and they are not in my Migrations folder either.

How can I remove those wrong migrations ? Thanks.


Viewing all articles
Browse latest Browse all 3924

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>