<?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: Database Migrations</title>
	<atom:link href="http://www.railsrocket.com/database-migrations/feed" rel="self" type="application/rss+xml" />
	<link>http://www.railsrocket.com/database-migrations</link>
	<description>A Ruby on Rails community website with tutorials</description>
	<lastBuildDate>Thu, 25 Mar 2010 23:45:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: ashes999</title>
		<link>http://www.railsrocket.com/database-migrations/comment-page-1#comment-3065</link>
		<dc:creator>ashes999</dc:creator>
		<pubDate>Wed, 22 Jul 2009 02:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.railsrocket.com/?p=19#comment-3065</guid>
		<description>Hi Chris,

If you&#039;re not averse to undoing the first migration, you can do this to destroy and redo everything:

rake db:migrate version=0 (this will undo all migration)
rake db:migrate (this will migrate to the max)

You can always try specific migrations somehow, but it seems like your DB has the wrong version recorded, so you might want to un-migrate and re-migrate. (Be aware that it&#039;ll drop the table, so if your data is valuable to you, you&#039;d better back it up first!)</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>If you&#8217;re not averse to undoing the first migration, you can do this to destroy and redo everything:</p>
<p>rake db:migrate version=0 (this will undo all migration)<br />
rake db:migrate (this will migrate to the max)</p>
<p>You can always try specific migrations somehow, but it seems like your DB has the wrong version recorded, so you might want to un-migrate and re-migrate. (Be aware that it&#8217;ll drop the table, so if your data is valuable to you, you&#8217;d better back it up first!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Moore</title>
		<link>http://www.railsrocket.com/database-migrations/comment-page-1#comment-3062</link>
		<dc:creator>Chris Moore</dc:creator>
		<pubDate>Tue, 21 Jul 2009 20:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.railsrocket.com/?p=19#comment-3062</guid>
		<description>I have tried to use db:migrate to migraet the second model. But when i run the migration it thinks im trying to migrate the first model and says that it already exists. 

Help!

Thanks</description>
		<content:encoded><![CDATA[<p>I have tried to use db:migrate to migraet the second model. But when i run the migration it thinks im trying to migrate the first model and says that it already exists. </p>
<p>Help!</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

