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.



84
85
86
# File 'lib/dm-migrations/adapters/dm-sqlite-adapter.rb', line 84

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