Mismatch between install and update schema

Created on 20 November 2019, over 5 years ago
Updated 20 May 2025, about 6 hours ago

The latest changes to redirect.install have caused the schema for new and existing installations to diverge:

  1. #2828083: Fields 'redirect_options', 'source_options' should be BLOB not TEXT β†’ changed the type of redirect.source_options and redirect.redirect_options to "blob". The update hook applied an incomplete schema that discarded the "not null" declaration.
  2. #2194099: Create database index on the redirect column β†’ added an update hook that creates an index for redirect.redirect. The index is missing in redirect_schema().
  3. #2057615: Increase size of source field to hold long URLs β†’ increased the length for redirect.source and redirect.redirect to 900 characters. No update hook was added.
πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany ciss

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024