# File lib/dm-core/migrations.rb, line 76 def storage_exists?(storage_name) statement = "SELECT COUNT(*)\nFROM \"information_schema\".\"tables\"\nWHERE \"table_type\" = 'BASE TABLE'\nAND \"table_schema\" = ?\nAND \"table_name\" = ?\n".compress_lines query(statement, schema_name, storage_name).first > 0 end