Fix down() in AddUpdateToNotificationsEnum migration for Rebased

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-10-06 00:11:25 +02:00
parent 31f5bafe64
commit 4d9ecc2b9e

View file

@ -10,7 +10,7 @@ def up do
|> execute()
end
# 20210717000000_add_poll_to_notifications_enum.exs
# 20220319000000_add_status_to_notifications_enum.exs
def down do
alter table(:notifications) do
modify(:type, :string)
@ -37,7 +37,8 @@ def down do
'reblog',
'favourite',
'pleroma:report',
'poll'
'poll',
'status'
)
"""
|> execute()