mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #1196] [MERGED] Add unique foreign keys for EggVariable
#1237
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/1196
Author: @rmartinoscar
Created: 4/1/2025
Status: ✅ Merged
Merged: 4/3/2025
Merged by: @rmartinoscar
Base:
main← Head:issue/545📝 Commits (2)
8753d69Fix test egg_variable orderfa3b813AddEggVariableunique foreign key forenv_variable&name📊 Changes
6 files changed (+54 additions, -21 deletions)
View changed files
➕
database/migrations/2025_04_01_033956_egg_variable_unique_foreign_key.php(+30 -0)📝
tests/Integration/Api/Client/Server/Startup/GetStartupAndVariablesTest.php(+1 -1)📝
tests/Integration/Api/Client/Server/Startup/UpdateStartupVariableTest.php(+3 -3)📝
tests/Integration/Services/Servers/ServerCreationServiceTest.php(+2 -2)📝
tests/Integration/Services/Servers/StartupModificationServiceTest.php(+8 -8)📝
tests/Integration/Services/Servers/VariableValidatorServiceTest.php(+10 -7)📄 Description
Supersedes https://github.com/pelican-dev/panel/pull/549
Closes #545 (api side since https://github.com/pelican-dev/panel/pull/902 already makes them unique in the frontend)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.