title: How to run rake db:migrate with sidekiq
body: <p>I am trying to run the command rake db:migrate using a sidekiq worker but it seems like it just won't work and I am curious if there is a way to do this or not.  I am creating a scaffold using sidekiq but cannot migrate it afterwards</p>
  
  <p>This works</p>
  
  <pre><code>class ScaffoldGeneratorWorker
    include Sidekiq::Worker
  
      def perform(id)
        `rails g scaffold test_#{id} title:string body:text slug:string visible:boolean`
      end
  end
  </code></pre>
  
  <p>But I cannot get this to run afterwards and work</p>
  
  <pre><code>class DatabaseMigrationWorker
    include Sidekiq::Worker
  
    def perform
      `rake db:migrate`
    end
  end
  </code></pre>
  
  <p>Is this possible, and, if so, how can I get it to work.  Any help is greatly appreciated.</p>