method

schema_file

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: DatabaseTasks
schema_file(format = ActiveRecord::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 244
      def schema_file(format = ActiveRecord::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.