TINYINT clogs up database update after upgrade to

Created on 19 December 2023, 6 months ago
Updated 23 December 2023, 6 months ago

Problem/Motivation

After a normal composer upgrade, I ran "drush updb" to update the database. This ended with this error:

>  [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?

πŸ› Bug report
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
PathΒ  β†’

Last updated 6 days ago

  • Maintained by
  • πŸ‡¬πŸ‡§United Kingdom @catch
Created by

πŸ‡ΊπŸ‡ΈUnited States bogdog400

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @bogdog400
  • πŸ‡ΊπŸ‡ΈUnited States bogdog400

    This was getting in the way of some other more critical updates. So I tried just inserting a "return" command at the top of:

    core/modules/path_alias/path_alias.post_update.php

    This made it seem like the update was done correctly. Everything seems fine so far.

    Should I somehow drop this index myself with drush?

    Any thoughts or suggestions?

    TIA.

  • πŸ‡¨πŸ‡­Switzerland Berdir Switzerland

    > core/modules/path_alias/path_alias.post_update.php

    That should give you a hint that this is not the pathauto contrib module, it is the path_alias drupal core module.

    No idea why you'd get that error as Drupal core is tested against sqlite, maybe something wrong with your configuration/version or you're using a patch or something.

  • Status changed to Closed: duplicate 6 months ago
  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    Duplicate of πŸ› TINYINT clogs updb for path_alias Active

Production build 0.69.0 2024