-
-
Save RejownAhmed/5c33c5703ec2b168fe135b14ab6f278d to your computer and use it in GitHub Desktop.
Disable Laravel migrate:fresh command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Artisan::command('migrate:fresh', function () { | |
/** @var \Illuminate\Console\Command $cmd */ | |
$cmd = $this; | |
$cmd->ask("Are you sure you want to resign?", "Yes"); | |
$cmd->comment( | |
<<<'TXT' | |
.~))>> | |
.~)>> | |
.~))))>>> | |
.~))>> ___ | |
.~))>>)))>> .-~))>> | |
.~)))))>> .-~))>>)> | |
.~)))>>))))>> .-~)>>)> | |
) .~))>>))))>> .-~)))))>>)> | |
( )@@*) //)>)))))) .-~))))>>)> | |
).@(@@ //))>>))) .-~))>>)))))>>)> | |
(( @.@). //))))) .-~)>>)))))>>)> | |
)) )@@*.@@ ) //)>))) //))))))>>))))>>)> | |
(( ((@@@.@@ |/))))) //)))))>>)))>>)> | |
)) @@*. )@@ ) (\_(\-\b |))>)) //)))>>)))))))>>)> | |
(( @@@(.@(@ . _/`-` ~|b |>))) //)>>)))))))>>)> | |
)* @@@ )@* (@) (@) /\b|))) //))))))>>))))>> | |
(( @. )@( @ . _/ / / \b)) //))>>)))))>>>_._ | |
)@@ (@@*)@@. (6///6)- / ^ \b)//))))))>>)))>> ~~-. | |
( @jgs@@. @@@.*@_ VvvvvV// ^ \b/)>>))))>> _. `bb | |
((@@ @@@*.(@@ . - | o |' \ ( ^ \b)))>> .' b`, | |
((@@).*@@ )@ ) \^^^/ (( ^ ~)_ \ / b `, | |
(@@. (@@ ). `-' ((( ^ `\ \ \ \ \| b `. | |
(*.@* / (((( \| | | \ . b `. | |
/ / ((((( \ \ / _.-~\ Y, b ; | |
/ / / (((((( \ \.-~ _.`" _.-~`, b ; | |
/ / `(((((() ) (((((~ `, b ; | |
_/ _/ `"""/ /' ; b ; | |
_.-~_.-~ / /' _.'~bb _.' | |
((((~~ / /' _.'~bb.--~ | |
(((( __.-~bb.-~ | |
.' b .~~ | |
:bb ,' | |
~~~~ | |
TXT | |
); | |
})->purpose('Disable fresh command'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment