class Liquigen::ModifyDataType
Attributes
column_name[RW]
new_date_type[RW]
table_name[RW]
Public Class Methods
new(table, from, to)
click to toggle source
# File lib/liquigen/modify_data_type.rb, line 9 def initialize(table, from, to) self.table_name = table&.underscore&.pluralize self.column_name = from self.new_date_type = TypeMap.new(to).db_type || to end