# File lib/sql/table_creator.rb, line 58 def build_type(type_class) schema = {:name => @name, :quote_column_name => quoted_name}.merge(@opts) schema[:serial?] ||= schema[:serial] schema[:nullable?] ||= schema[:nullable] || !schema[:not_null] if type_class.is_a?(String) schema[:primitive] = type_class else schema = @adapter.class.type_map[type_class].merge(schema) end @adapter.property_schema_statement(schema) end