method

schema_file

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: DatabaseTasks
schema_file(format = ActiveSupport::Base.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 200
      def schema_file(format = ActiveSupport::Base.schema_format)
        case format
        when :ruby
          File.join(db_dir, "schema.rb")
        when :sql
          File.join(db_dir, "structure.sql")
        end
      end
Register or log in to add new notes.