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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-07 12:13:43 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-07 12:13:43 +0400
commit94befdd502e619313534664393f4c72a24c9ebec (patch)
tree416e91dd330fea2cb3ec087520e0c36b8e1e1edc /db
parent98b484b996dd56f42a2c540cdebbba596d7b69cd (diff)
Events improved. Open/close issue, merge request events displayed
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20120307095918_add_author_id_to_event.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20120307095918_add_author_id_to_event.rb b/db/migrate/20120307095918_add_author_id_to_event.rb
new file mode 100644
index 00000000000..1d24d41e424
--- /dev/null
+++ b/db/migrate/20120307095918_add_author_id_to_event.rb
@@ -0,0 +1,5 @@
+class AddAuthorIdToEvent < ActiveRecord::Migration
+ def change
+ add_column :events, :author_id, :integer, :null => true
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 8838b2191fb..45e18a68cf3 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -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|