uliweb3 icon indicating copy to clipboard operation
uliweb3 copied to clipboard

not support enum in mysql when reflectdb

Open zhangchunlin opened this issue 6 years ago • 0 comments
trafficstars

Error:

Traceback (most recent call last):
  File "/home/zhangclb/oss/uliweb3/uliweb/contrib/orm/commands.py", line 1247, in handle
    print(reflect_table_model(table, mapping, without_id=not options.auto_id))
  File "/home/zhangclb/oss/uliweb3/uliweb/orm/__init__.py", line 1380, in reflect_table_model
    meta = reflect_table_data(table)
  File "/home/zhangclb/oss/uliweb3/uliweb/orm/__init__.py", line 1328, in reflect_table_data
    raise ValueError("Don't support column [{0}] for type [{1}] when parsing {2}".format(k, type_name, table.name))
ValueError: Don't support column [core_id_rule] for type [enum] when parsing hs_priority_rules

zhangchunlin avatar Jan 30 '19 06:01 zhangchunlin