feat: enhance mysql configuration with specific column selections

Updated the mysql configuration in the environment service to include specific column selections for the server object. This change improves data structure clarity and allows for more precise data handling in future queries.
This commit is contained in:
Mauricio Siu
2026-03-01 13:57:17 -06:00
parent a8a5e1c6f1
commit 149293f4d3

View File

@@ -99,7 +99,12 @@ export const findEnvironmentById = async (environmentId: string) => {
},
mysql: {
with: {
server: true,
server: {
columns: {
name: true,
serverId: true,
},
},
},
columns: {
mysqlId: true,