You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: engine/schema/src/main/resources/META-INF/db/schema-41930to41940.sql
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@
20
20
--;
21
21
22
22
-- Add vm_id column to usage_event table for volume usage events
23
-
ALTERTABLE`cloud`.`usage_event` ADD COLUMN `vm_id`bigintunsignedNULL COMMENT 'VM ID associated with volume usage events';
24
-
ALTERTABLE`cloud_usage`.`usage_event` ADD COLUMN `vm_id`bigintunsignedNULL COMMENT 'VM ID associated with volume usage events';
23
+
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.usage_event','vm_id', 'bigint UNSIGNED NULL COMMENT "VM ID associated with volume usage events"');
24
+
CALL `cloud_usage`.`IDEMPOTENT_ADD_COLUMN`('cloud_usage.usage_event','vm_id', 'bigint UNSIGNED NULL COMMENT "VM ID associated with volume usage events"');
25
25
26
26
-- Add vm_id column to cloud_usage.usage_volume table
27
-
ALTERTABLE`cloud_usage`.`usage_volume` ADD COLUMN `vm_id`bigintunsignedNULL COMMENT 'VM ID associated with the volume usage';
27
+
CALL `cloud_usage`.`IDEMPOTENT_ADD_COLUMN`('cloud_usage.usage_volume','vm_id', 'bigint UNSIGNED NULL COMMENT "VM ID associated with the volume usage"');
0 commit comments