aiondemand / aiondemand/AIOD-rest-api

Use same database setup logic in tests and production

Abierto
#393 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Python
Estrellas
36
Forks
77
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

During #392 I found out that deletion triggers never got registered in the database.
However, tests relied on them still worked because they relied on separately implemented database construction logic (which correctly set up the `after_create` triggers _before_ creating the database tables).
This would have been caught much earlier if tests and production had shared the same logic for constructing the tables and triggers.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.