fix: add missing impl for is_column_missing (#26225)
I removed it assuming it's already implemented in actual classes, but it's alias for is_missing_column.
This commit is contained in:
parent
2eece08d8b
commit
dd82ab415c
1 changed files with 3 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ from frappe.monitor import get_trace_id
|
|||
from frappe.query_builder.functions import Count
|
||||
from frappe.utils import CallbackManager, cint, get_datetime, get_table_name, getdate, now, sbool
|
||||
from frappe.utils import cast as cast_fieldtype
|
||||
from frappe.utils.deprecations import deprecation_warning
|
||||
from frappe.utils.deprecations import deprecated, deprecation_warning
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from psycopg2 import connection as PostgresConnection
|
||||
|
|
@ -1244,8 +1244,9 @@ class Database:
|
|||
raise NotImplementedError
|
||||
|
||||
@staticmethod
|
||||
@deprecated
|
||||
def is_column_missing(e):
|
||||
raise NotImplementedError
|
||||
return frappe.db.is_missing_column(e)
|
||||
|
||||
def get_descendants(self, doctype, name):
|
||||
"""Return descendants of the group node in tree"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue