summaryrefslogtreecommitdiff
path: root/db/migrate/20110921192501_create_issues.rb
blob: 63b42ad998eb500652f79af58925b564f73f9b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class CreateIssues < ActiveRecord::Migration
  def change
    create_table :issues do |t|
      t.string :title
      t.text :content
      t.integer :assignee_id
      t.integer :author_id
      t.integer :project_id

      t.timestamps
    end
  end
end