ability to attach branch to issue
This commit is contained in:
parent
b4c40c212c
commit
ee2d3de1a6
7 changed files with 149 additions and 48 deletions
5
db/migrate/20111124115339_add_extra_field_to_issue.rb
Normal file
5
db/migrate/20111124115339_add_extra_field_to_issue.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddExtraFieldToIssue < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :issues, :branch_name, :string, :null => true
|
||||
end
|
||||
end
|
13
db/schema.rb
13
db/schema.rb
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue