Преглед изворни кода

[minor] fix broken install due to previous fix by @rmehta

version-14
Pratik Vyas пре 11 година
родитељ
комит
d8c5f225d9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      webnotes/model/db_schema.py

+ 1
- 1
webnotes/model/db_schema.py Прегледај датотеку

@@ -210,7 +210,7 @@ class DbColumn:
ret = get_definition(self.fieldtype)

if with_default and self.default and (self.default not in default_shortcuts) \
and not self.default.startswith(":") and d[0] not in ['text', 'longblob']:
and not self.default.startswith(":") and ret not in ['text', 'longblob']:
ret += ' default "' + self.default.replace('"', '\"') + '"'
return ret


Loading…
Откажи
Сачувај