Add duration parameter to muting. (#13831)
* Adding duration to muting. * Remove useless checks
This commit is contained in:
parent
f54ca3d08e
commit
96761752ec
18 changed files with 124 additions and 14 deletions
5
db/migrate/20200317021758_add_expires_at_to_mutes.rb
Normal file
5
db/migrate/20200317021758_add_expires_at_to_mutes.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddExpiresAtToMutes < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :mutes, :expires_at, :datetime
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue