diff options
author | Jeong Arm <kjwonmail@gmail.com> | 2019-05-10 05:03:03 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-05-09 22:03:02 +0200 |
commit | ce8635605c3be41ef0a20ade0e7a89b170bf7f04 (patch) | |
tree | 52dec6b31da7b77ce12c6b37b4bc0582e5dcf846 /db/migrate | |
parent | 09eea46631c99792e6e3b59ee20253827fd87ade (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 'db/migrate')
-rw-r--r-- | db/migrate/20190509164208_add_by_moderator_to_tombstone.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20190509164208_add_by_moderator_to_tombstone.rb b/db/migrate/20190509164208_add_by_moderator_to_tombstone.rb new file mode 100644 index 000000000..80c244842 --- /dev/null +++ b/db/migrate/20190509164208_add_by_moderator_to_tombstone.rb @@ -0,0 +1,5 @@ +class AddByModeratorToTombstone < ActiveRecord::Migration[5.2] + def change + add_column :tombstones, :by_moderator, :boolean + end +end |