[Feature]: Add force flag in commands
@RobsonTrasel ya está trabajando en esto.
Desde el 16/12/2022.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
🚀 Feature Proposal
Commands that affect saved data, should be ignored in the production environment if it has no force flag.
The run/revert migration commands and database wipe command, should not be easily run in production, these commands could be found at the above paths of the project:
Motivation
To prevent production data lost.
Example
If NODE_ENV=production, the above command should throw an exception with an explanation to the developer that he needs to use --force flag to run this command in production:
node artisan migration:run
If NODE_ENV=production, the above command should work as expected:
node artisan migration:run --force
- Lenguaje dominante
- TypeScript
- Estrellas
- 7
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
stellar/stellar-dev-skill#151 ·
Los mantenedores suelen responder en 1 día
-
Trial & Error: guided Blind offer squeezes on phones and sits under the touch toolbar on iPadAbiertoarea:arcade game ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
fderuiter/deruiter.dev#2281 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
scope: data grid type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
fix(frontend): correct VITE_IS_DEVELPOMENT typo in shared/app.ts and align dev environment flagsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
vicharanashala/ajrasakha#1439 ·
Los mantenedores suelen responder en 1 día
-
Add: TV5Monde AsieAbiertoapproved check:passed streams:add
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día