[GH-ISSUE #1658] 🐛 [Bug] config/database.php - CREATE TABLE uses mysql / mariadb key work "lock" and won't create table. #691

Closed
opened 2026-02-25 21:35:41 +03:00 by kerem · 1 comment
Owner

Originally created by @jeremiah on GitHub (Sep 5, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1658

Originally assigned to: @Baraka24 on GitHub.

🐛 Bug

https://github.com/cypht-org/cypht/blame/a5498a45e67525379aa9d1d17418f5534c00fef2/config/database.php#L78

The instructions for creating a table for MySQL / MariaDB / SQLite include the column name "lock" which is a reserved keyword in mysql. Has this schema been tested since MySQL / MariaDB on Debian 13 will not create this table.

Version & Environment

Rev: [master-cypht]

OS: [Debian 13]

Originally created by @jeremiah on GitHub (Sep 5, 2025). Original GitHub issue: https://github.com/cypht-org/cypht/issues/1658 Originally assigned to: @Baraka24 on GitHub. ## 🐛 Bug https://github.com/cypht-org/cypht/blame/a5498a45e67525379aa9d1d17418f5534c00fef2/config/database.php#L78 The instructions for creating a table for MySQL / MariaDB / SQLite include the column name "lock" which is a reserved keyword in mysql. Has this schema been tested since MySQL / MariaDB on Debian 13 will not create this table. ### Version & Environment Rev: [master-cypht] OS: [Debian 13]
kerem 2026-02-25 21:35:41 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Baraka24 commented on GitHub (Sep 5, 2025):

Thanks for your report, we'll look into this.

<!-- gh-comment-id:3259788510 --> @Baraka24 commented on GitHub (Sep 5, 2025): Thanks for your report, we'll look into this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#691
No description provided.