Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20110921192501_create_issues.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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