Fix down() in AddUpdateToNotificationsEnum migration for Rebased
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
31f5bafe64
commit
4d9ecc2b9e
1 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue