Since github runners start to use encrypted VMs, updating existing vm pools to encrypt VMs. Default value for storage encryption also set to true.
12 lines
216 B
Ruby
12 lines
216 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
change do
|
|
alter_table(:vm_pool) do
|
|
set_column_default(:storage_encrypted, true)
|
|
end
|
|
|
|
run "UPDATE vm_pool SET storage_encrypted = true"
|
|
end
|
|
end
|