title: Rails migration: only for schema change or also for updating data?
body: <p>I'm a junior Rails developer and at work we faced the following problem:</p>
  
  <p>Needed to update the value of a column only for one record. 
  What we did is creating a migration like this: </p>
  
  <pre><code>class DisableAccessForUser &lt; ActiveRecord::Migration
    def change
      User.where(name: "User").first.update_column(:access, false)
    end
  end
  </code></pre>
  
  <p>Are migrations only for schema changes?</p>
  
  <p>What other solutions do you suggest?</p>
  
  <p>PS: I can only change it with code. No access to console.</p>