Progress
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class AddIsMutedToChatConversationAccounts < ActiveRecord::Migration[5.2]
|
||||
def up
|
||||
safety_assured { add_column :chat_conversation_accounts, :is_muted, :bool, default: false, null: false }
|
||||
end
|
||||
|
||||
def down
|
||||
remove_column :chat_conversation_accounts, :is_muted
|
||||
end
|
||||
end
|
||||
5
db/migrate/20201216051551_remove_chat_mutes.rb
Normal file
5
db/migrate/20201216051551_remove_chat_mutes.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class RemoveChatMutes < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
drop_table :chat_mutes
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user