# issue
class CreateIssues < ActiveRecord::Migration
  def change
    create_table :issues do |t|
      t.string :title, null: false
      t.text :detail
      t.integer :priority, null: false
      t.datetime :milestone
      t.datetime :period, null: false
      t.boolean :complete, null: false, default: false

      t.timestamps null: false
    end
  end
end
