Add progress message to update hook

Created on 21 July 2023, over 1 year ago
Updated 4 August 2023, over 1 year ago

Problem/Motivation

The update hook that renames the group_content database tables can take a long time if you have a lot of content. For my site hosted on Pantheon this was a problem because drush/ssh commands timeout after 10 minutes if there's no output.

Easy fix is to return a message from the update hook that will print to the console. Being able to see how far along the update is is an added bonus.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

RTBC

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jeffm2001

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

Comments & Activities

Production build 0.71.5 2024