Newer
Older
dmpopidor / db / migrate / 20130603140800_create_phases.rb
class CreatePhases < ActiveRecord::Migration
  def change
    create_table :phases do |t|
      t.string :title
      t.text :description
      t.integer :number
      t.references :dmptemplate

      t.timestamps
    end
    add_index :phases, :dmptemplate_id
  end
end