mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
[PR #987] [MERGED] Fix revamp api_keys migration #1091
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/987
Author: @rmartinoscar
Created: 2/10/2025
Status: ✅ Merged
Merged: 3/15/2025
Merged by: @lancepioch
Base:
main← Head:fix/RevampApiMigration📝 Commits (2)
a8bc29fFix revamp api_keys migrationc0b18f3Merge branch 'main' into fix/RevampApiMigration📊 Changes
2 files changed (+4 additions, -4 deletions)
View changed files
📝
app/Models/ApiKey.php(+2 -2)📝
database/migrations/2024_11_04_185326_revamp_api_keys_permissions.php(+2 -2)📄 Description
Mysql only allow non-null default for json since ^8.0.13
And query should be all otherwise foreach runs even if there's no api_keys in the table.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.