Files
ubicloud/migrate/20231109_postgres_restore.rb
2023-11-14 17:06:11 +01:00

11 lines
257 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table(:postgres_resource) do
add_foreign_key :parent_id, :postgres_resource, type: :uuid, null: true
add_column :restore_target, :timestamptz, null: true
end
end
end