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 b2f12ac commit ecf7a83Copy full SHA for ecf7a83
netbox_custom_objects/__init__.py
@@ -1,7 +1,6 @@
1
import sys
2
import warnings
3
4
-from django.db import transaction
5
from django.db.utils import DatabaseError, OperationalError, ProgrammingError
6
from netbox.plugins import PluginConfig
7
@@ -33,7 +32,7 @@ def check_custom_object_type_table_exists():
33
32
table_name = CustomObjectType._meta.db_table
34
cursor.execute("""
35
SELECT EXISTS (
36
- SELECT FROM information_schema.tables
+ SELECT FROM information_schema.tables
37
WHERE table_name = %s
38
)
39
""", [table_name])
0 commit comments