PG::DependentObjectsStillExist: ERROR: cannot drop column xxx_id of xxxxx because other objects depend on it

前端 未结 0 518
天命终不由人
天命终不由人 2020-12-15 09:38

I\'m trying to remove a foreign_key user_id from a table named subscriptions.

The model association is like



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