fix: allow default for text and long text when altering table (#21109)
This commit is contained in:
parent
dfa411bdc5
commit
e277b94714
1 changed files with 0 additions and 1 deletions
|
|
@ -247,7 +247,6 @@ class DbColumn:
|
|||
self.default_changed(current_def)
|
||||
and (self.default not in frappe.db.DEFAULT_SHORTCUTS)
|
||||
and not cstr(self.default).startswith(":")
|
||||
and not (column_type in ["text", "longtext"])
|
||||
):
|
||||
self.table.set_default.append(self)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue