mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-11-28 08:30:27 +08:00
11 lines
332 B
Ruby
11 lines
332 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Serializers::PostgresUpgrade < Serializers::Base
|
|
def self.serialize_internal(postgres_resource, options = {})
|
|
{
|
|
current_version: postgres_resource.version,
|
|
target_version: postgres_resource.target_version,
|
|
upgrade_status: postgres_resource.upgrade_status
|
|
}
|
|
end
|
|
end
|