gitlabhq/db/migrate/20120408180246_create_milestones.rb
2012-04-09 00:28:58 +03:00

13 lines
325 B
Ruby

class CreateMilestones < ActiveRecord::Migration
def change
create_table :milestones do |t|
t.string :title, :null => false
t.integer :project_id, :null => false
t.text :description
t.date :due_date
t.boolean :closed, :default => false, :null => false
t.timestamps
end
end
end