method

schema_file_type

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: DatabaseTasks
schema_file_type(format = ActiveRecord.schema_format) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/tasks/database_tasks.rb, line 438
      def schema_file_type(format = ActiveRecord.schema_format)
        case format
        when :ruby
          "schema.rb"
        when :sql
          "structure.sql"
        end
      end
Register or log in to add new notes.