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:
Ankush Menat 2024-04-29 22:16:12 +05:30 committed by GitHub
parent 2eece08d8b
commit dd82ab415c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"""