ソースを参照

Merge pull request #8557 from frappe/clarkejj-patch-2

fix: report the DocType's name when its associated table is missing
version-14
mergify[bot] 5年前
committed by GitHub
コミット
3b32c4d613
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      frappe/database/database.py

+ 1
- 1
frappe/database/database.py ファイルの表示

@@ -854,7 +854,7 @@ class Database(object):
"""Returns list of column names from given doctype."""
columns = self.get_db_table_columns('tab' + doctype)
if not columns:
raise self.TableMissingError
raise self.TableMissingError('DocType', doctype)
return columns

def has_column(self, doctype, column):


読み込み中…
キャンセル
保存