[PR #727] [CLOSED] Add a primary key to 'password_resets' table to allow compatibility with MariaDB Galera. #929

Closed
opened 2026-02-05 17:58:48 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/727
Author: @iriseden
Created: 11/26/2024
Status: Closed

Base: mainHead: add/id_to_password_resets_table


📝 Commits (4)

📊 Changes

2 files changed (+36 additions, -0 deletions)

View changed files

database/migrations/2024_11_26_110150_add_id_to_password_resets_table.php (+34 -0)
📝 database/schema/mysql-schema.sql (+2 -0)

📄 Description

Compatibility with MariaDB Galera Cluster

Adds a id field as the primary key in the password_resets table.

A primary key is required on each table when using a clustered database with MariaDB Galera.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/727 **Author:** [@iriseden](https://github.com/iriseden) **Created:** 11/26/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add/id_to_password_resets_table` --- ### 📝 Commits (4) - [`eaf05bc`](https://github.com/pelican-dev/panel/commit/eaf05bc81400fdc02138c848222fae7fce7da4e0) Add id as primary key in schema - [`e4c6c0e`](https://github.com/pelican-dev/panel/commit/e4c6c0e1e7500dd05af655f21540389132c437bd) Adding migration - [`b18e6cf`](https://github.com/pelican-dev/panel/commit/b18e6cfe3c0cb0a1bb69f87c12a05fb6c4641e7b) php lint - [`7f740d1`](https://github.com/pelican-dev/panel/commit/7f740d1419f9b0775dee6ed241f0d89ae0169107) sqlite compatibility ### 📊 Changes **2 files changed** (+36 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `database/migrations/2024_11_26_110150_add_id_to_password_resets_table.php` (+34 -0) 📝 `database/schema/mysql-schema.sql` (+2 -0) </details> ### 📄 Description *Compatibility with MariaDB Galera Cluster* Adds a `id` field as the primary key in the `password_resets` table. A primary key is required on each table when using a clustered database with MariaDB Galera. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 17:58:48 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#929