Make Active Record Postgress column optional

后端 未结 0 1817
北海茫月
北海茫月 2020-12-19 07:01

How do I change my user_id to make it optional (not required)? What migration can I use? I\'m using postgres and rails 6. Is it correct to assume I need to remove the null f

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