Events improved. Open/close issue, merge request events displayed

This commit is contained in:
Dmitriy Zaporozhets 2012-03-07 00:13:43 -08:00
parent 98b484b996
commit 94befdd502
13 changed files with 98 additions and 19 deletions

View file

@ -0,0 +1,5 @@
class AddAuthorIdToEvent < ActiveRecord::Migration
def change
add_column :events, :author_id, :integer, :null => true
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20120301185805) do
ActiveRecord::Schema.define(:version => 20120307095918) do
create_table "events", :force => true do |t|
t.string "target_type"
@ -22,6 +22,7 @@ ActiveRecord::Schema.define(:version => 20120301185805) do
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.integer "action"
t.integer "author_id"
end
create_table "issues", :force => true do |t|