Module: DataMapper::Adapters::Sqlite3Adapter::Migration

Defined in:
lib/dm-mapping/adapters/sqlite3_adapter.rb

Instance Method Summary collapse

Instance Method Details

#storagesObject



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/dm-mapping/adapters/sqlite3_adapter.rb', line 8

def storages
# activerecord-2.1.0/lib/active_record/connection_adapters/sqlite_adapter.rb: 177
  sql = <<-SQL.compress_lines
    SELECT name
    FROM sqlite_master
    WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  SQL
# activerecord-2.1.0/lib/active_record/connection_adapters/sqlite_adapter.rb: 181

  query sql
end