lib/pg_trunk/core/operation/generators.rb
# Convert the type to the acceptable by Rails::Generator
Convert the type to the acceptable by Rails::Generator
Convert the type to the acceptable by Rails :: Generator
def gen_type(type)
        case type.to_s
        when "bool", "boolean"  then :boolean
        when "integer", "float" then :numeric
        when /^pg_trunk_array/  then :array
        when /^pg_trunk_hash/   then :hash
        else :string
        end
      end
def gen_type ( type ) case type . to_s when "bool" , "boolean" then :boolean when "integer" , "float" then :numeric when / ^pg_trunk_array / then :array when / ^pg_trunk_hash / then :hash else :string end end
Convert the type to the acceptable by Rails::Generator
Convert the type to the acceptable by Rails :: Generator
type
<not_specific>