Browse Source

Fix 'engine' attribute error

version-14
Viet Pham 8 years ago
parent
commit
2016841924
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/model/db_schema.py

+ 1
- 1
frappe/model/db_schema.py View File

@@ -178,7 +178,7 @@ class DbTable:
ROW_FORMAT=COMPRESSED
CHARACTER SET=utf8mb4
COLLATE=utf8mb4_unicode_ci""".format(varchar_len=varchar_len,
engine=self.meta.engine or 'InnoDB') % (self.name, add_text))
engine=self.meta.get("engine") or 'InnoDB') % (self.name, add_text))

def get_column_definitions(self):
column_list = [] + default_columns


Loading…
Cancel
Save