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)


8
9
10
# File 'lib/apartment/active_record/schema_migration.rb', line 8

def table_exists?
  connection.table_exists?(table_name)
end