upgrade from 23.1 to 24. drop database error #4391
-
for the life of me can't fix this, I went back to 23.1 and everything is fine, the minute I go to 24 I get an error: So how does one fix that ? ERROR failed to migrate error="Error 1091 (42000): Can't DROP COLUMN |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solution copied from someone else, I used PHPmyadmin on the database to fix. Check if the "tags" column exists in the memo table, and if it doesn’t, you need to add it: ALTER TABLE memo ADD COLUMN tags JSON; Check if the "pinned" column exists in the memo table, and if it does, you need to delete it: ALTER TABLE memo DROP COLUMN pinned; |
Beta Was this translation helpful? Give feedback.
Solution copied from someone else, I used PHPmyadmin on the database to fix.
Check if the "tags" column exists in the memo table, and if it doesn’t, you need to add it: ALTER TABLE memo ADD COLUMN tags JSON;
Check if the "pinned" column exists in the memo table, and if it does, you need to delete it: ALTER TABLE memo DROP COLUMN pinned;