method
table_exists?

Ruby on Rails latest stable (v5.2.3)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::SchemaStatements
table_exists?(table_name)
public
Checks to see if the table table_name exists on the database.
table_exists?(:developers)