What is the right approach to deal with Rails db/schema.rb file in GIT?

后端 未结 4 1478
南旧
南旧 2020-12-03 04:10

Should we include schema.rb while commiting to GIT? or should we ignore it? what is the right approach?

4条回答
  •  渐次进展
    2020-12-03 04:50

    Well, it's not included on .gitignore by default. So, I think that you would not have a problem including it(I do in my projects, without any problem).

提交回复
热议问题