[CHORE]: Add down migrations for 002–012
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 78/100
Línea de trabajo
Start in server/migrations/ by reading the _up.sql files for 002–012 and the existing 001_create_users_down.sql. Add matching down files that reverse each migration using IF EXISTS; check the result by applying all up files and then all down files in reverse order on a fresh postgres:16-alpine. Done means the rollback completes successfully.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
Only 001_create_users_down.sql exists, so there's no way to roll back a schema change during development.
What to do
- Add
NNN_*_down.sqlfor 002–012 that undo the matching_up.sql(drop the tables, columns and indexes it added), usingIF EXISTS. - Check them locally: apply all up files, then all down files in reverse order, on a fresh
postgres:16-alpine.
Where to look
server/migrations/.
Good to know
Down files are for development only. Nothing runs them automatically.
- Lenguaje dominante
- Dart
- Estrellas
- 9
- Forks
- 5
- Merge medio
- 49 min
- PR fusionados (30 d)
- 34
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin 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.
Más de CommandLineCoding/Elephant
-
area: mobile chore good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
CommandLineCoding/Elephant#247 ·
Los mantenedores suelen responder en 1 día
-
area: mobile bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
CommandLineCoding/Elephant#245 ·
Los mantenedores suelen responder en 1 día
-
area: mobile enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
CommandLineCoding/Elephant#183 ·
Los mantenedores suelen responder en 1 día
-
area: mobile difficulty: medium enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
CommandLineCoding/Elephant#249 ·
Los mantenedores suelen responder en 1 día
-
area: mobile chore difficulty: medium testing
Dificultad 4/5 3-5 días Aptitud para principiantes 66/100
CommandLineCoding/Elephant#248 ·
Los mantenedores suelen responder en 1 día
Todos los issues de CommandLineCoding/Elephant
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
livekit/client-sdk-flutter#1281 ·
Los mantenedores suelen responder en 4 días
-
android bug priority: P1 qa
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
GHRik/bielik_oneclick_launcher#55 ·
Los mantenedores suelen responder en 1 día
-
SchedulerBinding.requestPerformanceMode(mode) does not forward the requested mode to the engine.Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
carp demo apps enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
carp-dk/carp.sensing-flutter#670 ·
-
[BUG] IP 质量类型误判:ISP 静态段被显示为机房Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100