BLOB, TEXT, GEOMETRY or JSON column can't have a default value error Rails 5 migration

后端 未结 0 1787
Happy的楠姐
Happy的楠姐 2021-01-21 05:50

I\'m trying to change the column type for a table in Rails 5 from a string to text

t.string "description", default: "&quo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题