Skip to content

Commit

Permalink
Fix migration by adding new column at end of select
Browse files Browse the repository at this point in the history
  • Loading branch information
zephraph committed Jan 31, 2024
1 parent f72e63f commit 1baaba7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schema/crdb/32.0.0/up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ CREATE OR REPLACE VIEW omicron.public.silo_utilization
AS SELECT
c.id AS silo_id,
s.name AS silo_name,
-- This is the added column
s.discoverable as silo_discoverable,
c.cpus_provisioned AS cpus_provisioned,
c.ram_provisioned AS memory_provisioned,
c.virtual_disk_bytes_provisioned AS storage_provisioned,
q.cpus AS cpus_allocated,
q.memory_bytes AS memory_allocated,
q.storage_bytes AS storage_allocated
q.storage_bytes AS storage_allocated,
-- This is the added column
s.discoverable as silo_discoverable
FROM
omicron.public.virtual_provisioning_collection AS c
RIGHT JOIN omicron.public.silo_quotas AS q
Expand Down

0 comments on commit 1baaba7

Please sign in to comment.