[Rails] Re: Migration newbie
Pål Bergström
pal at palbergstrom.com
Thu Aug 17 19:52:46 GMT 2006
Steve Holder wrote:
> As was discussed in a thread a couple days ago, its probably also worth
> wrapping your table alterations in a transaction if your database
> supports
> it - having a migration run halfway before hitting an error, and then
> having
> to cleanup the resulting structure changes, is no fun.
Not sure what transaction is. Getting more and more familiare with sql,
but that is new to me. I have the latest MySQL.
I can't add a column with migration, in a simple test-db, and I suspect
it's due to an error in my syntax. Will that then stop any further
attempts with migration? Is it this that you're referring to?
Trying to learn migrations, but not sure it is better for me as a lonely
developer than using MySQL's Tools. One benefit I see is being able to
dynamically modify a db for an external user.
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list