Fairly simple one today: Does Schema.rb belong in your SVN repository which all the developers commit to? If Schema.rb is autogenerated which it claims to be, then will running the Migrations on every (new) machine bring the Schema.rb in the correct state? Getting some conflicts now in Schema.rb when 2 devs create migrations and commit / update with the SVN -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I include it in the repo for two reasons: (1) the comment at the top of schema.rb urges me to include it in the repo; (2) I''ve never had a conflict on it, and I work on projects stored in both Subversion and Git repos. Regards, Craig --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sat, Apr 26, 2008 at 5:57 AM, Chris Dekker <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Does Schema.rb belong in your SVN repository which all the developers > commit to? If Schema.rb is autogenerated which it claims to be, then > will running the Migrations on every (new) machine bring the Schema.rb > in the correct state? > > Getting some conflicts now in Schema.rb when 2 devs create migrations > and commit / update with the SVNThat would be the #1 reason why you WOULD put your schema.rb into the repo as if you are getting conflicts on this file that aren''t automerging, then you know that your developers are crossing paths on the database and that might be something you want to catch early... My 2c worth. Mikel http://www.lindsaar.net/ruby-on-rails-tips --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---