summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-14 15:33:56 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-18 14:14:52 +0200
commitfcd2bdf1fe83a4d39a6c3af6d03d09500f93ca4d (patch)
treef13008530f1e36a83e6e5d33236dd0461ef89ee4 /app/models/commit.rb
parente3041b90dc4b02a1bd9b68e820d19f4a58488940 (diff)
downloadgitlab-ci-migrate-tables-to-ci-prefix.tar.gz
Revert some Make it work Migrate tags and taggings to
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 98bd35c..be260f1 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -16,6 +16,8 @@
#
class Commit < ActiveRecord::Base
+ extend Model
+
belongs_to :project
has_many :builds, dependent: :destroy
has_many :trigger_requests, dependent: :destroy