Class: ActiveRecord::SchemaMigration

Inherits:
Object
  • Object
show all
Defined in:
lib/apartment/active_record/schema_migration.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.table_exists?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/apartment/active_record/schema_migration.rb', line 6

def table_exists?
  connection.table_exists?(table_name)
end