method

structure_dump

Importance_0
structure_dump(filename) 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/sqlite_database_tasks.rb, line 38
      def structure_dump(filename)
        dbfile = configuration['database']
        `sqlite3 #{dbfile} .schema > #{filename}`
      end
Register or log in to add new notes.