title: change column name Rails
body: <p>I have this table:</p>
  
  <pre><code>class CreateShoes &lt; ActiveRecord::Migration
    def change
      create_table :shoes do |t|
        t.string :name
        t.boolean :leather
        t.integer :season
  
        t.timestamps null: false
      end
    end
  end
  </code></pre>
  
  <p>the 'season' column should be called 'season_id'. I know that I have to write 't.rename :season, :season_id' as explained in <a href="http://edgeguides.rubyonrails.org/active_record_migrations.html#column-modifiers" rel="noreferrer">http://edgeguides.rubyonrails.org/active_record_migrations.html#column-modifiers</a> but I don't manage to find the right syntax. Should it be?</p>
  
  <pre><code>class CreateShoes &lt; ActiveRecord::Migration
    def change
      create_table :shoes do |t|
        t.string :name
        t.boolean :leather
        t.integer :season
  
        t.timestamps null: false
      end
  
      change_table :products do |t|
        t.rename :season, :season_id
      end
  
    end
  end
  </code></pre>
  
  <p>Doesn't work. Anything I have to do in the Mac console? Thanks!</p>