Active
Project:
Drupal core
Version:
main
Component:
sqlite db driver
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2023 at 18:31 UTC
Updated:
24 Dec 2023 at 01:06 UTC
Jump to comment: Most recent
After using composer to upgrade to 10.2, I found that my database updates wouldn't work. THey were blocked by path_alias:
> [notice] Update started: path_alias_post_update_drop_path_alias_status_index
> [error] Unable to parse the column type TINYINT
> [error] Update failed: path_alias_post_update_drop_path_alias_status_index
[error] Update aborted by: path_alias_post_update_drop_path_alias_status_index
[error] Finished performing updates.
I'm using SQLite which doesn't support a "TINYINT". All of the integers have the same type.
Any suggestions for the best way to unstick this?
Comments
Comment #2
larowlanWhat version of sqlite are you using?
Comment #3
bogdog400 commented3.37.2 2022-01-06 13:25:41 872ba256cbf61d9290b571c0e6d82a20c224ca3ad82971edc46b29818d5dalt1
Comment #4
larowlanThanks
Comment #5
catchThis is very similar to #3370560: Update failed: dblog_update_10101 (TINYINT) and as in that issue I think we can just skip the update if the driver is sqlite.
Comment #6
catchComment #7
catchActually we can't skip the update here because it's trying to drop an index and that also needs to happen on sqlite, maybe this is something to do with the translation from schema definitions for sqlite itself? Moving this to the sqlite driver.
Comment #8
bogdog400 commentedThanks. Can the index be dropped by command line?