Skip to content

Commit

Permalink
alldown!
Browse files Browse the repository at this point in the history
  • Loading branch information
essenciary committed Aug 17, 2022
1 parent 490eac5 commit 508c997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Migration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ end
Runs all migrations `down`.
"""
function all_down!!(; confirm = true) :: Nothing
function all_down!!(; confirm::Bool = true) :: Nothing
if confirm
printstyled("!!!WARNING!!! This will run down all the migration, potentially leading to irrecuperable data loss!
You have 10 seconds to cancel this. ", color = :yellow)
Expand All @@ -428,7 +428,7 @@ function all_down!!(; confirm = true) :: Nothing

nothing
end
const alldown = all_down!!
const alldown! = all_down!!


"""
Expand Down

0 comments on commit 508c997

Please sign in to comment.