Skip to content

Conversation

@CySSoO
Copy link
Contributor

@CySSoO CySSoO commented Jan 30, 2026

Motivation

  • Ensure existing installations receive the id_employee author column automatically so the author feature does not break on upgrades.

Description

  • Add a master DB connection and an explicit check in EverblockTools::checkAndFixDatabase that runs SHOW COLUMNS ... LIKE "id_employee" and executes ALTER TABLE ... ADD id_employee when the column is missing, by introducing $dbMaster and guarding the schema change.

Testing

  • No automated tests were executed for this change.

Codex Task

@CySSoO CySSoO merged commit de3eb65 into master Jan 30, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants