ability to attach branch to issue

This commit is contained in:
gitlabhq 2011-11-24 08:08:20 -05:00
parent b4c40c212c
commit ee2d3de1a6
7 changed files with 149 additions and 48 deletions

View file

@ -0,0 +1,5 @@
class AddExtraFieldToIssue < ActiveRecord::Migration
def change
add_column :issues, :branch_name, :string, :null => true
end
end

View file

@ -11,7 +11,17 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20111115063954) do
ActiveRecord::Schema.define(:version => 20111124115339) do
create_table "features", :force => true do |t|
t.string "name"
t.string "branch_name"
t.integer "assignee_id"
t.integer "author_id"
t.integer "project_id"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "issues", :force => true do |t|
t.string "title"
@ -23,6 +33,7 @@ ActiveRecord::Schema.define(:version => 20111115063954) do
t.boolean "closed", :default => false, :null => false
t.integer "position", :default => 0
t.boolean "critical", :default => false, :null => false
t.string "branch_name"
end
create_table "keys", :force => true do |t|