@@ -37,6 +37,7 @@ func (c *connection) findInstances(_ context.Context, whereClause string, args .
3737 SELECT
3838 id,
3939 environment,
40+ project_display_name,
4041 olap_connector,
4142 project_olap_connector,
4243 repo_connector,
@@ -72,6 +73,7 @@ func (c *connection) findInstances(_ context.Context, whereClause string, args .
7273 err := rows .Scan (
7374 & i .ID ,
7475 & i .Environment ,
76+ & i .ProjectDisplayName ,
7577 & i .OLAPConnector ,
7678 & i .ProjectOLAPConnector ,
7779 & i .RepoConnector ,
@@ -205,6 +207,7 @@ func (c *connection) CreateInstance(_ context.Context, inst *drivers.Instance) e
205207 INSERT INTO instances(
206208 id,
207209 environment,
210+ project_display_name,
208211 olap_connector,
209212 project_olap_connector,
210213 repo_connector,
@@ -224,10 +227,11 @@ func (c *connection) CreateInstance(_ context.Context, inst *drivers.Instance) e
224227 ai_instructions,
225228 frontend_url
226229 )
227- VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20)
230+ VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21 )
228231 ` ,
229232 inst .ID ,
230233 inst .Environment ,
234+ inst .ProjectDisplayName ,
231235 inst .OLAPConnector ,
232236 inst .ProjectOLAPConnector ,
233237 inst .RepoConnector ,
@@ -304,27 +308,29 @@ func (c *connection) EditInstance(_ context.Context, inst *drivers.Instance) err
304308 `
305309 UPDATE instances SET
306310 environment = $2,
307- olap_connector = $3,
308- project_olap_connector = $4,
309- repo_connector = $5,
310- admin_connector = $6,
311- ai_connector = $7,
312- project_ai_connector = $8,
313- catalog_connector = $9,
314- updated_on = $10,
315- connectors = $11,
316- project_connectors = $12,
317- variables = $13,
318- project_variables = $14,
319- feature_flags = $15,
320- annotations = $16,
321- public_paths = $17,
322- ai_instructions = $18,
323- frontend_url = $19
311+ project_display_name = $3,
312+ olap_connector = $4,
313+ project_olap_connector = $5,
314+ repo_connector = $6,
315+ admin_connector = $7,
316+ ai_connector = $8,
317+ project_ai_connector = $9,
318+ catalog_connector = $10,
319+ updated_on = $11,
320+ connectors = $12,
321+ project_connectors = $13,
322+ variables = $14,
323+ project_variables = $15,
324+ feature_flags = $16,
325+ annotations = $17,
326+ public_paths = $18,
327+ ai_instructions = $19,
328+ frontend_url = $20
324329 WHERE id = $1
325330 ` ,
326331 inst .ID ,
327332 inst .Environment ,
333+ inst .ProjectDisplayName ,
328334 inst .OLAPConnector ,
329335 inst .ProjectOLAPConnector ,
330336 inst .RepoConnector ,
0 commit comments