Module: DataMapper::Migrations::SqliteAdapter::ClassMethods

Defined in:
lib/dm-migrations/adapters/dm-sqlite-adapter.rb

Instance Method Summary collapse

Instance Method Details

#type_mapHash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Types for SQLite 3 databases.

Returns:

  • (Hash)

    types for SQLite 3 databases.



89
90
91
# File 'lib/dm-migrations/adapters/dm-sqlite-adapter.rb', line 89

def type_map
  @type_map ||= super.merge(Class => { :primitive => 'VARCHAR' }).freeze
end