class CreateCurrents < ActiveRecord::Migration
  def change
    create_table :currents do |t|

      t.timestamps
    end
  end
end

class CreateCurrents < ActiveRecord::Migration
  def self.up
    create_table :currents do |t|
      t.string      "title"
      t.text        "description"
      t.integer     "owner_id",    :null => false

      t.timestamps
    end

    add_column :ideas, :current_id, :integer, :null => true
  end

  def self.down
    drop_table :currents
    remove_column :ideas, :current_id
  end
end

Create migration for adding Currents to schema
Create migration for adding Currents to schema

Migration adds the Currents table and a column in ideas to reference a
current the idea belongs to.
