houdini/gems/houdini_upgrade/lib/houdini_upgrade/column_to_migrate.rb

15 lines
No EOL
375 B
Ruby

# frozen_string_literal: true
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module HoudiniUpgrade
class ColumnToMigrate
attr_reader :name
def initialize(original_column_name)
@name = original_column_name.to_s
end
def migrated_name
@name + "_temp"
end
end
end