Silence is Foo Mental notes on Ruby, Git, Rails and whatever geeky thing

11Feb/10Off

Checking existence of tables, columns and indexes in Rails Migrations

Tired of running migrations which doesn't work because a migration was trying to create an existent table I created 3 very very simple methods to check the existence of tables, columns and indexes in migrations or wherever.

You can see the code here: http://github.com/rafmagana/database_utils

About raf

Ruby Developer
Filed under: rails, ruby Comments Off
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.