Error when tacjslog table already exists

Created on 22 September 2023, about 1 year ago
Updated 8 December 2023, about 1 year ago

Problem/Motivation

tacjs used to create the tacjslog table but now it is handled by the tacjs_log submodule.
We have updated tacjs on multiple websites then enabled tacjs_log and every time it complains that the table already exists.

Steps to reproduce

  1. Install tacjs 5.3.0.
  2. Update tacjs to 6.4.0.
  3. Add tacjs_log to the core.extension.yml config file.
  4. Run drush cim: it fails with "Table 'tacjslog' already exists.".
  5. Run drush cim again: no error this time.

Proposed resolution

Is there a way to check if the table already exists before creating it?

🐛 Bug report
Status

Active

Version

6.4

Component

Code

Created by

🇫🇷France prudloff Lille

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

Comments & Activities

Production build 0.71.5 2024