Open alexanderbuergin opened 4 days ago
That migration is supposed to be run as part of the initial Craft 5 upgrade. Did you manually adjust the database or remove rows from the migrations
table?
We did the migration from Craft cms 4 to 5 some time ago. The upgrade was to 5.0.x.
We did not delete any migrations from the DB.
Do you have a database backup from after the initial Craft 5 upgrade? Is m221101_115859_create_entries_authors_table
listed in the migrations
table?
No, we do not have such an entry (m221101_115859_create_entries_authors_table
) in the DB migrations
table. I'm not sure why.
Can you just put this entry in the DB I suppose?
The error you’re getting suggests that the migration has in fact been run before though, as the last thing the migration does is drop the authorId
column from the entries
table.
You could manually add the row, but I’d be worried about why it got removed in the first place, and whether other migrations’ rows are also missing.
What happened?
Description
When trying to upgrade Craft CMS from 5.1.5 to 5.2.5, the following error occurs:
Craft CMS version
5.1.5
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
-