fix: 修复删除Oracle数据库时报错提示问题

pull/11030/head
Bai 1 year ago committed by Bryan
parent f5d9dedae1
commit c50330e055

@ -29,8 +29,7 @@ def on_db_created(sender, instance: Database, created, **kwargs):
db_port_manager.check()
@receiver(post_delete, sender=Asset)
@on_transaction_commit
@receiver(post_delete, sender=Database)
def on_db_delete(sender, instance, **kwargs):
if instance.type != 'oracle':
return

Loading…
Cancel
Save