Files
ubicloud/migrate/20230721_add_project_provider.rb
Enes Cakir e85018a2f9 Add provider to project
Technically, project can have resources from multiple providers. But we
don't know the characteristics of our providers. When customer mixed and
matched same type of resources from different providers, these resources
might behave differently across those providers. It's easy to create
resources in locations from different providers by mistake.

We decided to limit customer for project with single provider. We don't
yet know what customers want from different providers. If people come
back to us and ask for more flexibility with mixing and matching
providers, then that's always something we could add on later. It's
always going to be easier to move from less flexible to more flexible
than the other way around.
2023-07-25 10:19:26 +03:00

10 lines
161 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table(:project) do
add_column :provider, String, collate: '"C"'
end
end
end