This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

erodriguez
erodriguez

Every timat that I try apply or rollback a migration is not working and my project is on prod.

I get this message

Migration code should define a migration or seeder class. Leave the code field blank if you only want to update the version number.

The only option is to make a migration by command

daftspunky
daftspunky

Hey there

What version of PHP are you using? There are some known issues with PHP 8.

erodriguez
erodriguez

At the begining I was using PHP 7.3, after that I made an upgrade to PHP 8 and the issues started but I tried to go back to php 7.3 but the issues still there

Last updated

erodriguez
erodriguez

any solution? Because is imposible to work with Rain.Lab Builder

Migrations don't work anymore

daftspunky
daftspunky

The latest version should fix it. If you still have troubles send us an email with the details

devonne_laidley28052
devonne_laidley28052

Add a new table in the database an it will migrate all the old ones behind it

1-6 of 6

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.