summaryrefslogtreecommitdiff
path: root/app/models/audit_event.rb
diff options
context:
space:
mode:
authorAtsushi Ishida <gipcompany@gmail.com>2015-08-03 01:52:54 +0900
committerAtsushi Ishida <gipcompany@gmail.com>2015-08-03 01:52:54 +0900
commitf33898ecfb7c5c15c8a3355dabe07cdff296fc75 (patch)
treee989e2c39e2c2170e0ff22fb3f1dc5ac90498ecf /app/models/audit_event.rb
parentbdb4288ab82bab14619fe817020e90e48a97e1d4 (diff)
downloadgitlab-ce-f33898ecfb7c5c15c8a3355dabe07cdff296fc75.tar.gz
Re-annotate models
Diffstat (limited to 'app/models/audit_event.rb')
-rw-r--r--app/models/audit_event.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/models/audit_event.rb b/app/models/audit_event.rb
index 967ffd46db0..0ed0dd98a59 100644
--- a/app/models/audit_event.rb
+++ b/app/models/audit_event.rb
@@ -1,3 +1,17 @@
+# == Schema Information
+#
+# Table name: audit_events
+#
+# id :integer not null, primary key
+# author_id :integer not null
+# type :string(255) not null
+# entity_id :integer not null
+# entity_type :string(255) not null
+# details :text
+# created_at :datetime
+# updated_at :datetime
+#
+
class AuditEvent < ActiveRecord::Base
serialize :details, Hash