method

schema_format

rails latest stable - Class: ActiveRecord::DatabaseConfigurations::HashConfig

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

schema_format()
public

No documentation available.

# File activerecord/lib/active_record/database_configurations/hash_config.rb, line 184
      def schema_format # :nodoc:
        format = configuration_hash.fetch(:schema_format, ActiveRecord.schema_format).to_sym
        raise "Invalid schema format" unless [:ruby, :sql].include?(format)
        format
      end