We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 803299f commit 53b5b93Copy full SHA for 53b5b93
qiita_db/study.py
@@ -394,6 +394,15 @@ def delete(cls, id_):
394
"DELETE FROM qiita.study_environmental_package WHERE study_id = "
395
"%s", (id_, ))
396
397
+ conn_handler.add_to_queue(
398
+ queue,
399
+ "DELETE FROM qiita.study_users WHERE study_id = %s", (id_, ))
400
+
401
402
403
+ "DELETE FROM qiita.investigation_study WHERE study_id = "
404
+ "%s", (id_, ))
405
406
conn_handler.add_to_queue(
407
queue,
408
"DELETE FROM qiita.study WHERE study_id = %s", (id_, ))
0 commit comments