📜  无法将类型 smallint 转换为布尔 django - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:10.451000             🧑  作者: Mango

代码示例1
# if the existing data is not that important for you, you can delete the column and create a new one

# 1. first step remove currency from you model and apply migration
# 2. add again the currency with the new definition and apply again the migration