Class: DatabaseConsistency::Databases::Types::Sqlite
- Defined in:
- lib/database_consistency/databases/types/sqlite.rb
Overview
Wraps types for SQLite database
Constant Summary collapse
- TYPES =
{ 'bigserial' => 'bigint', 'bigint' => 'bigint', 'serial' => 'integer', 'integer' => 'integer' }.freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from DatabaseConsistency::Databases::Types::Base
Instance Method Details
#convert ⇒ String
16 17 18 |
# File 'lib/database_consistency/databases/types/sqlite.rb', line 16 def convert TYPES[type] || type end |