method

structure_load

rails latest stable - Class: ActiveRecord::Tasks::SqlserverDatabaseTasks

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

structure_load(filename)
public

No documentation available.

# File activerecord/lib/active_record/tasks/sqlserver_database_tasks.rb, line 37
      def structure_load(filename)
        Kernel.system("sqlcmd -S #{configuration['host']} -d #{configuration['database']} -U #{configuration['username']} -P #{configuration['password']} -i #{filename}")
      end