mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-11-28 00:20:26 +08:00
10 lines
216 B
Ruby
10 lines
216 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
change do
|
|
alter_table(:nic) do
|
|
add_column :state, :text
|
|
add_constraint :state, "state IN ('initializing', 'creating', 'active')"
|
|
end
|
|
end
|
|
end
|