user_lp_status and user_lp_status_expire tables not found in database after migration

Created on 31 August 2023, over 1 year ago
Updated 8 September 2023, over 1 year ago

Problem/Motivation

Throwing an error saying that

user_lp_status

and

user_lp_status_expire 

tables not found in database in all training pages after migration to opgino_lms 3.1.1 from opgino_lms 2.29.

Steps to reproduce

Migrate the opigno_lms to latest version(3.1.1) from version 2.x, An error is thrown in all training pages (/group/xxx) saying that above tables not found.

Proposed resolution

I see that these tables are created during installation (hook_install) but these tables need to be added via hook_update_N, so that when we migrate the Opigno LMS to 3.x from 2.x, these tables will be created successfully.

🐛 Bug report
Status

Closed: cannot reproduce

Version

3.1

Component

Code

Created by

🇮🇳India kanchamk

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

Comments & Activities

Production build 0.71.5 2024