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()
|
|> execute()
|
||||||
end
|
end
|
||||||
|
|
||||||
# 20210717000000_add_poll_to_notifications_enum.exs
|
# 20220319000000_add_status_to_notifications_enum.exs
|
||||||
def down do
|
def down do
|
||||||
alter table(:notifications) do
|
alter table(:notifications) do
|
||||||
modify(:type, :string)
|
modify(:type, :string)
|
||||||
|
@ -37,7 +37,8 @@ def down do
|
||||||
'reblog',
|
'reblog',
|
||||||
'favourite',
|
'favourite',
|
||||||
'pleroma:report',
|
'pleroma:report',
|
||||||
'poll'
|
'poll',
|
||||||
|
'status'
|
||||||
)
|
)
|
||||||
"""
|
"""
|
||||||
|> execute()
|
|> execute()
|
||||||
|
|
Loading…
Reference in a new issue