about summary refs log tree commit diff
path: root/app/models/tombstone.rb
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2019-05-10 05:03:03 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-05-09 22:03:02 +0200
commitce8635605c3be41ef0a20ade0e7a89b170bf7f04 (patch)
tree52dec6b31da7b77ce12c6b37b4bc0582e5dcf846 /app/models/tombstone.rb
parent09eea46631c99792e6e3b59ee20253827fd87ade (diff)
Record deleted(by mod) status to prevent re-appear (#10732)
* Record deleted(by mod) status to prevent re-appear

* Move to Tombstone

* Add missing migration script
Diffstat (limited to 'app/models/tombstone.rb')
-rw-r--r--app/models/tombstone.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/models/tombstone.rb b/app/models/tombstone.rb
index 997bb65fd..bf666c43a 100644
--- a/app/models/tombstone.rb
+++ b/app/models/tombstone.rb
@@ -4,11 +4,12 @@
 #
 # Table name: tombstones
 #
-#  id         :bigint(8)        not null, primary key
-#  account_id :bigint(8)
-#  uri        :string           not null
-#  created_at :datetime         not null
-#  updated_at :datetime         not null
+#  id           :bigint(8)        not null, primary key
+#  account_id   :bigint(8)
+#  uri          :string           not null
+#  created_at   :datetime         not null
+#  updated_at   :datetime         not null
+#  by_moderator :boolean
 #
 
 class Tombstone < ApplicationRecord