aiondemand / aiondemand/AIOD-rest-api

Use same database setup logic in tests and production

未关闭
#393 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
36
派生
77
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。