aiondemand / aiondemand/AIOD-rest-api

Use same database setup logic in tests and production

オープン
#393 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。