diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2016-05-09 18:00:28 +0200 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2016-05-09 18:00:28 +0200 |
commit | f1479b56b71bef63517b90fcde99e6508e9c54af (patch) | |
tree | 4e426c2b25b1cfb498b452576d5b1b54266d2034 /app/models/event.rb | |
parent | 8dd2188b8367ad18bf005c855ef55f001a0b5fd1 (diff) | |
download | gitlab-ce-f1479b56b71bef63517b90fcde99e6508e9c54af.tar.gz |
Remove the annotate gem and delete old annotations
In 8278b763d96ef10c6494409b18b7eb541463af29 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.
Fixes: #17382
Diffstat (limited to 'app/models/event.rb')
-rw-r--r-- | app/models/event.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/app/models/event.rb b/app/models/event.rb index 25c7c3e6dc7..17ee48b91a8 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -1,19 +1,3 @@ -# == Schema Information -# -# Table name: events -# -# id :integer not null, primary key -# target_type :string -# target_id :integer -# title :string -# data :text -# project_id :integer -# created_at :datetime -# updated_at :datetime -# action :integer -# author_id :integer -# - class Event < ActiveRecord::Base include Sortable default_scope { where.not(author_id: nil) } |