# 只能加速查找 db_index=True, # 加速查找,限制列值唯一 unique = True, # 加速查找,限制列值唯一(不能为空) primary = True, 转载于:https://www.cnblogs.com/apollo1616/articles/9944573.html