fix: allow setting default in longtext and text columns (#21089)
This commit is contained in:
parent
af3213a445
commit
c5e62cac26
1 changed files with 0 additions and 1 deletions
|
|
@ -205,7 +205,6 @@ class DbColumn:
|
|||
self.default
|
||||
and (self.default not in frappe.db.DEFAULT_SHORTCUTS)
|
||||
and not cstr(self.default).startswith(":")
|
||||
and column_def not in ("text", "longtext")
|
||||
):
|
||||
column_def += f" default {frappe.db.escape(self.default)}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue