Friday, December 7, 2007

Migrations: Pitfalls For Maintenance

# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more
# migrations you'll amass, the slower it'll run and the greater likelihood for
# issues).

From Rails 2 schema boilerplate.

That's why you should always use automatic_migrations.