Thibaut Barrère
2005-Sep-06 14:14 UTC
Poll: how do you handle your production database schema changes ?
Hi, I''d be really interested to learn how other railers handle their database schema changes. Specifically, do you write your sql migration scripts yourself, or do you rely on a tool to generate it, or do you rely on a more GUIsh tool ? (which tools ? here I''m thinking MySql first as it seems to be the most largely used database over rails) any feedback welcome! kind regards Thibaut Barrère -- [blog] http://www.dotnetguru2.org/tbarrere _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
David Heinemeier Hansson
2005-Sep-06 15:22 UTC
Re: Poll: how do you handle your production database schema changes ?
> I''d be really interested to learn how other railers handle their database > schema changes. Specifically, do you write your sql migration scripts > yourself, or do you rely on a tool to generate it, or do you rely on a more > GUIsh tool ? (which tools ? here I''m thinking MySql first as it seems to be > the most largely used database over rails)The preferred way is to use Migrations: http://api.rubyonrails.org/classes/ActiveRecord/Migration.html -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework
Thibaut Barrère
2005-Sep-06 16:38 UTC
Re: Poll: how do you handle your production database schema changes ?
Thanks for the hint David, I''ll definitely check it out. Is is what you use on basecamp / backpack ? Thibaut -- [blog] http://www.dotnetguru2.org/tbarrere 2005/9/6, David Heinemeier Hansson <david.heinemeier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > > I''d be really interested to learn how other railers handle their > database > > schema changes. Specifically, do you write your sql migration scripts > > yourself, or do you rely on a tool to generate it, or do you rely on a > more > > GUIsh tool ? (which tools ? here I''m thinking MySql first as it seems to > be > > the most largely used database over rails) > > The preferred way is to use Migrations: > http://api.rubyonrails.org/classes/ActiveRecord/Migration.html > -- > David Heinemeier Hansson > http://www.loudthinking.com -- Broadcasting Brain > http://www.basecamphq.com -- Online project management > http://www.backpackit.com -- Personal information manager > http://www.rubyonrails.com -- Web-application framework > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails