<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Rails Migration Antipatterns and How To Fix Them</title>
	<atom:link href="http://www.pervasivecode.com/blog/2010/03/18/rails-migration-antipatterns-and-how-to-fix-them/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pervasivecode.com/blog/2010/03/18/rails-migration-antipatterns-and-how-to-fix-them/</link>
	<description>Jamie Flournoy's Software Development Blog</description>
	<lastBuildDate>Wed, 02 Nov 2011 15:50:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jamie Flournoy</title>
		<link>http://www.pervasivecode.com/blog/2010/03/18/rails-migration-antipatterns-and-how-to-fix-them/comment-page-1/#comment-31735</link>
		<dc:creator>Jamie Flournoy</dc:creator>
		<pubDate>Sat, 12 Jun 2010 04:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/?p=171#comment-31735</guid>
		<description>Daniel,

You didn&#039;t actually add any commentary with that excerpt so I can only guess at your point. Perhaps you&#039;re saying that you agree with that comment?

I suppose I agree with it too, IF you aren&#039;t using any database features that would be omitted by db:schema:dump (schema.rb) or db:structure:dump (schema.sql). And that&#039;s a pretty big &quot;if&quot;. I even capitalized it! :)

The nice thing about migrations is that even if you dare to use Rails on a project where those opinionated-software decisions don&#039;t happen to fit 100% with your project, you can use still use migrations to build the DB from scratch or incrementally in a reliable and repeatable fashion. Just throw a few raw SQL DDL statements in a migration and put the reverse transformation in the down method, and you&#039;re all set.</description>
		<content:encoded><![CDATA[<p>Daniel,</p>
<p>You didn&#8217;t actually add any commentary with that excerpt so I can only guess at your point. Perhaps you&#8217;re saying that you agree with that comment?</p>
<p>I suppose I agree with it too, IF you aren&#8217;t using any database features that would be omitted by db:schema:dump (schema.rb) or db:structure:dump (schema.sql). And that&#8217;s a pretty big &#8220;if&#8221;. I even capitalized it! :)</p>
<p>The nice thing about migrations is that even if you dare to use Rails on a project where those opinionated-software decisions don&#8217;t happen to fit 100% with your project, you can use still use migrations to build the DB from scratch or incrementally in a reliable and repeatable fashion. Just throw a few raw SQL DDL statements in a migration and put the reverse transformation in the down method, and you&#8217;re all set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Libanori</title>
		<link>http://www.pervasivecode.com/blog/2010/03/18/rails-migration-antipatterns-and-how-to-fix-them/comment-page-1/#comment-31720</link>
		<dc:creator>Daniel Libanori</dc:creator>
		<pubDate>Fri, 11 Jun 2010 14:34:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/?p=171#comment-31720</guid>
		<description>From rails source code.

# This file is auto-generated from the current state of the database. Instead of editing this file,
# please use the migrations feature of Active Record to incrementally modify your database, and
# then regenerate this schema definition.
#
# 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&#039;ll amass, the slower it&#039;ll run and the greater likelihood for issues).
#
# It&#039;s strongly recommended to check this file into your version control system.</description>
		<content:encoded><![CDATA[<p>From rails source code.</p>
<p># This file is auto-generated from the current state of the database. Instead of editing this file,<br />
# please use the migrations feature of Active Record to incrementally modify your database, and<br />
# then regenerate this schema definition.<br />
#<br />
# Note that this schema.rb definition is the authoritative source for your database schema. If you need<br />
# to create the application database on another system, you should be using db:schema:load, not running<br />
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations<br />
# you&#8217;ll amass, the slower it&#8217;ll run and the greater likelihood for issues).<br />
#<br />
# It&#8217;s strongly recommended to check this file into your version control system.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

