Disable destructive migration commands
Issue #132
new
There are some horrible commands in the Artisan migrate
package, namely refresh
, that erases and recreates the entire base.
We should investigate if there's a way to intercept Artisan commands; if so:
- in development, ask for confirmation before executing
- in production, NEVER run and silently warn by email
If there's no way to directly intercept, alter the Artisan commands or even create a fork without those destructive options.