mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 11:20:41 +03:00
[PR #403] [CLOSED] Add DatabaseHost alias #737
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/403
Author: @rmartinoscar
Created: 6/16/2024
Status: ❌ Closed
Base:
main← Head:feature/dbhost-alias📝 Commits (4)
c70cd70Add aliasd946375Merge branch 'main' into feature/dbhost-alias7a33d84Merge branch 'pelican-dev:main' into feature/dbhost-alias4eca02cMerge branch 'main' into feature/dbhost-alias📊 Changes
8 files changed (+48 additions, -4 deletions)
View changed files
📝
app/Filament/Resources/DatabaseHostResource/Pages/CreateDatabaseHost.php(+6 -1)📝
app/Filament/Resources/DatabaseHostResource/Pages/EditDatabaseHost.php(+6 -1)📝
app/Filament/Resources/DatabaseHostResource/Pages/ListDatabaseHosts.php(+2 -0)📝
app/Models/DatabaseHost.php(+3 -1)📝
app/Transformers/Api/Application/DatabaseHostTransformer.php(+1 -0)📝
app/Transformers/Api/Client/DatabaseTransformer.php(+1 -0)➕
database/migrations/2024_06_16_024330_add_database_alias_column_to_database_hosts.php(+28 -0)📝
resources/scripts/api/server/databases/getServerDatabases.ts(+1 -1)📄 Description
Add alias to DatabaseHosts and display that instead of the ip in the endpoint.





Useful when you create pelicanuser@127.0.0.1 but still want to show either a domain or for example 172.18.0.1
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.