class ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
Public Instance Methods
uuid()
click to toggle source
Extends the adapter to include support for a uuid type. This is required by the importer (see SO2DB::Importer
for more information). For PostgreSQL, simply use the native ‘uuid’ type (for MySQL, use something a bit more contrived, like CHAR(16)).
# File lib/so2pg.rb, line 32 def uuid return 'uuid', {} end