title: Heroku rails migration problem
body: <p>I now get the following error in git: </p>
  
  <pre><code>Home@PC /c/rails/konkurranceportalen (master)
      $ heroku rake db:migrate
      (in /app/x/home)
      ==  DeviseCreateAdmins: migrating =============================================
      -- create_table(:admins)
         -&gt; 0.0148s
      -- add_index(:admins, :email, {:unique=&gt;true})
         -&gt; 0.0231s
      -- add_index(:admins, :reset_password_token, {:unique=&gt;true})
      rake aborted!
      An error has occurred, this and all later migrations canceled:
  
      PGError: ERROR:  column "reset_password_token" does not exist
      : CREATE UNIQUE INDEX "index_admins_on_reset_password_token" ON "admins" ("reset
      _password_token")
  
      (See full trace by running task with --trace)
  </code></pre>
  
  <p>I have changed the migration file in my app on my local machine. But it don't seem to change anything when I use heroku rake db:migrate. I have run git push heroku master.
  I can migrate the database on my local machine. I am currently using Mysql with phpmyadmin.</p>
  
  <p>Do I have to change my database.yml is my app not pushed to heroku? </p>
  
  <p>Here is some of my database.yml :</p>
  
  <pre><code>    production:
        adapter: mysql
        database: rails_p
        encoding: utf8
        pool: 5
        username: root
        password: 
        socket: C:/xampp/mysql/bin/mysqld.sock
        host: 127.0.0.1
  </code></pre>
  
  <p>My migration:</p>
  
  <pre><code>class DeviseCreateAdmins &lt; ActiveRecord::Migration
    def self.up
      create_table(:admins) do |t|
        t.database_authenticatable :null =&gt; false
        t.rememberable
        t.timestamps
      end
  
      add_index :admins, :email,                :unique =&gt; true
      # add_index :admins, :confirmation_token,   :unique =&gt; true
      # add_index :admins, :unlock_token,         :unique =&gt; true
    end
  
    def self.down
      drop_table :admins
    end
  end
  </code></pre>