method

create_table_and_set_flags

rails latest stable - Class: ActiveRecord::InternalMetadata
create_table_and_set_flags(environment, schema_sha1 = nil)
public

No documentation available.

# File activerecord/lib/active_record/internal_metadata.rb, line 66
    def create_table_and_set_flags(environment, schema_sha1 = nil)
      return unless enabled?

      create_table
      update_or_create_entry(:environment, environment)
      update_or_create_entry(:schema_sha1, schema_sha1) if schema_sha1
    end