about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-07-28 17:30:12 +0200
committerGitHub <noreply@github.com>2019-07-28 17:30:12 +0200
commit75f7f9930eb2a6f5c4041ec44fe0aa795c9ec449 (patch)
tree446b7fa050fa9e4c624a46eef874c5bd4441137e /app/models
parentcfb2ed78231758a79af038a964ab7f7b7b35274e (diff)
Remove conversation URI (#11423)
It is not part of ActivityPub and will free up a lot of space
Diffstat (limited to 'app/models')
-rw-r--r--app/models/conversation.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/models/conversation.rb b/app/models/conversation.rb
index 4dfaea889..37d233f32 100644
--- a/app/models/conversation.rb
+++ b/app/models/conversation.rb
@@ -4,17 +4,10 @@
 # Table name: conversations
 #
 #  id         :bigint(8)        not null, primary key
-#  uri        :string
 #  created_at :datetime         not null
 #  updated_at :datetime         not null
 #
 
 class Conversation < ApplicationRecord
-  validates :uri, uniqueness: true, if: :uri?
-
   has_many :statuses
-
-  def local?
-    uri.nil?
-  end
 end