Files
ubicloud/migrate/20250605_github_used_vcpus.rb
Enes Cakir 037df57154 Add migration for used_vcpus in the github_installation
We started caching the total used vCPUs in the github_installation table
to eliminate project locking. The next commit has the details.
2025-06-21 11:24:42 +03:00

10 lines
186 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table(:github_installation) do
add_column :used_vcpus, :Integer, null: false, default: 0
end
end
end