<?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: CakePHP Migrations v4.0 Release Candidate</title>
	<atom:link href="http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/feed/" rel="self" type="application/rss+xml" />
	<link>http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/</link>
	<description>A Weblog written, styled and hacked by Joel Moss</description>
	<pubDate>Wed, 07 Jan 2009 12:17:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Funky Weasel</title>
		<link>http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/comment-page-1/#comment-314</link>
		<dc:creator>Funky Weasel</dc:creator>
		<pubDate>Tue, 16 Dec 2008 11:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://developingwithstyle.com/?p=166#comment-314</guid>
		<description>@wdm: Sorry I'm a few months late - you need to install the MDB2 database driver seperately, even though the pear install on MDB2 claims that it's already set them up.  e.g.

pear install MDB2_Driver_mysql

Hope this helps anyone else stuck with similar problems.  Cake Migrate is a pain to set up, but well worth it if you want to keep revision tracking of db structure.</description>
		<content:encoded><![CDATA[<p>@wdm: Sorry I&#8217;m a few months late - you need to install the MDB2 database driver seperately, even though the pear install on MDB2 claims that it&#8217;s already set them up.  e.g.</p>
<p>pear install MDB2_Driver_mysql</p>
<p>Hope this helps anyone else stuck with similar problems.  Cake Migrate is a pain to set up, but well worth it if you want to keep revision tracking of db structure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/comment-page-1/#comment-265</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Fri, 21 Nov 2008 01:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://developingwithstyle.com/?p=166#comment-265</guid>
		<description>@tony: Yeah, take a look at the github wiki: http://github.com/joelmoss/cakephp-db-migrations/wikis</description>
		<content:encoded><![CDATA[<p>@tony: Yeah, take a look at the github wiki: <a href="http://github.com/joelmoss/cakephp-db-migrations/wikis" rel="nofollow">http://github.com/joelmoss/cakephp-db-migrations/wikis</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Bianco</title>
		<link>http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/comment-page-1/#comment-257</link>
		<dc:creator>Tony Bianco</dc:creator>
		<pubDate>Thu, 20 Nov 2008 01:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://developingwithstyle.com/?p=166#comment-257</guid>
		<description>Is there any place where we can see the full examples of using migrations within a yml file?</description>
		<content:encoded><![CDATA[<p>Is there any place where we can see the full examples of using migrations within a yml file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wdm</title>
		<link>http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/comment-page-1/#comment-152</link>
		<dc:creator>wdm</dc:creator>
		<pubDate>Thu, 11 Sep 2008 15:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://developingwithstyle.com/?p=166#comment-152</guid>
		<description>The "PEAR NOT FOUND" error seems to occur even if you do have pear installed, but not MDB2

&lt;code&gt;pear install MDB2&lt;code&gt; at the command line will install MDB2, and the error should go away, 

You might need to first set your php path in ~/.bash_profile. This makes sure pear will be talking to the MAMP php version, mine looks like:

&lt;code&gt;
# Set PATH for php (override default /bin/php)
export PATH=/Applications/MAMP/bin/php5/bin:$PATH 
&lt;/code&gt;

But... now I have a new error. After typing 'cake migrate help' I get:

&lt;code&gt;
Warning: MDB2::include_once(MDB2/Driver/postgres.php): failed to open stream: No such file or directory in /Applications/MAMP/bin/php5/lib/php/MDB2.php on line 332

Warning: MDB2::include_once(): Failed opening 'MDB2/Driver/postgres.php' for inclusion (include_path='.:/Applications/MAMP/bin/php5/lib/php') in /Applications/MAMP/bin/php5/lib/php/MDB2.php on line 332
Error: MDB2 ERROR
unable to find package 'MDB2_Driver_postgres' file 'MDB2/Driver/postgres.php'
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>The &#8220;PEAR NOT FOUND&#8221; error seems to occur even if you do have pear installed, but not MDB2</p>
<p><code>pear install MDB2</code><code> at the command line will install MDB2, and the error should go away, </p>
<p>You might need to first set your php path in ~/.bash_profile. This makes sure pear will be talking to the MAMP php version, mine looks like:</p>
<p></code><code><br />
# Set PATH for php (override default /bin/php)<br />
export PATH=/Applications/MAMP/bin/php5/bin:$PATH<br />
</code></p>
<p>But&#8230; now I have a new error. After typing &#8216;cake migrate help&#8217; I get:</p>
<p><code><br />
Warning: MDB2::include_once(MDB2/Driver/postgres.php): failed to open stream: No such file or directory in /Applications/MAMP/bin/php5/lib/php/MDB2.php on line 332</p>
<p>Warning: MDB2::include_once(): Failed opening 'MDB2/Driver/postgres.php' for inclusion (include_path='.:/Applications/MAMP/bin/php5/lib/php') in /Applications/MAMP/bin/php5/lib/php/MDB2.php on line 332<br />
Error: MDB2 ERROR<br />
unable to find package 'MDB2_Driver_postgres' file 'MDB2/Driver/postgres.php'<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lfm</title>
		<link>http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/comment-page-1/#comment-132</link>
		<dc:creator>lfm</dc:creator>
		<pubDate>Mon, 11 Aug 2008 16:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://developingwithstyle.com/?p=166#comment-132</guid>
		<description>Hi, 
I've a problem with installation. 
I use MAMP and Pear is already installed with it, but not MDB2. 
I tried to install necessery package but all time when I try to run 'cake migrate' I see: 
" Error: PEAR NOT FOUND
 Unable to include PEAR.php and MDB2.php"

How should I install MDB2 to MAMP?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;ve a problem with installation.<br />
I use MAMP and Pear is already installed with it, but not MDB2.<br />
I tried to install necessery package but all time when I try to run &#8216;cake migrate&#8217; I see:<br />
&#8221; Error: PEAR NOT FOUND<br />
 Unable to include PEAR.php and MDB2.php&#8221;</p>
<p>How should I install MDB2 to MAMP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Watts</title>
		<link>http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/comment-page-1/#comment-125</link>
		<dc:creator>Watts</dc:creator>
		<pubDate>Fri, 25 Jul 2008 17:30:52 +0000</pubDate>
		<guid isPermaLink="false">http://developingwithstyle.com/?p=166#comment-125</guid>
		<description>While this may just be me, I was consistently getting an error with Migrations 4.0rc1 when I tried to run "migrate generate from db" to build the full_schema.yml file: "PHP Fatal error:  Class 'ConnectionManager' not found in /usr/local/lib/cake-1.2/vendors/shells/migrate.php on line 465".

This was solved by adding "connection_manager" to the App::import line at the start of the migrate.php file.</description>
		<content:encoded><![CDATA[<p>While this may just be me, I was consistently getting an error with Migrations 4.0rc1 when I tried to run &#8220;migrate generate from db&#8221; to build the full_schema.yml file: &#8220;PHP Fatal error:  Class &#8216;ConnectionManager&#8217; not found in /usr/local/lib/cake-1.2/vendors/shells/migrate.php on line 465&#8243;.</p>
<p>This was solved by adding &#8220;connection_manager&#8221; to the App::import line at the start of the migrate.php file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: itsnotvalid</title>
		<link>http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/comment-page-1/#comment-113</link>
		<dc:creator>itsnotvalid</dc:creator>
		<pubDate>Sat, 21 Jun 2008 17:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://developingwithstyle.com/?p=166#comment-113</guid>
		<description>Just started using it. I am actually wonder why PEAR and MDB2 is needed, as Cake already have a bunch of drivers under cake.cake.libs.model.datasources. It seems that using less dependencies would be far better than using some external dependencies, given that the core already have the needed features.

Also filed a bug in Google Code. Have a nice day!</description>
		<content:encoded><![CDATA[<p>Just started using it. I am actually wonder why PEAR and MDB2 is needed, as Cake already have a bunch of drivers under cake.cake.libs.model.datasources. It seems that using less dependencies would be far better than using some external dependencies, given that the core already have the needed features.</p>
<p>Also filed a bug in Google Code. Have a nice day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chanon</title>
		<link>http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/comment-page-1/#comment-106</link>
		<dc:creator>Chanon</dc:creator>
		<pubDate>Mon, 16 Jun 2008 10:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://developingwithstyle.com/?p=166#comment-106</guid>
		<description>This is what I tried, but the resulting column is NULL instead of NOT NULL
&lt;code&gt;
UP:
  add_field:
    games:
      my_flag: 
        type: boolean
        length: 1
        not_null:
DOWN:
  drop_field:
    games: [my_flag]
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>This is what I tried, but the resulting column is NULL instead of NOT NULL<br />
<code><br />
UP:<br />
  add_field:<br />
    games:<br />
      my_flag:<br />
        type: boolean<br />
        length: 1<br />
        not_null:<br />
DOWN:<br />
  drop_field:<br />
    games: [my_flag]<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chanon</title>
		<link>http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/comment-page-1/#comment-105</link>
		<dc:creator>Chanon</dc:creator>
		<pubDate>Mon, 16 Jun 2008 10:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://developingwithstyle.com/?p=166#comment-105</guid>
		<description>Hi!, I was wondering, how do you add a boolean column to a table that is not_null?

I've tried many ways but can't get it to work.</description>
		<content:encoded><![CDATA[<p>Hi!, I was wondering, how do you add a boolean column to a table that is not_null?</p>
<p>I&#8217;ve tried many ways but can&#8217;t get it to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://developingwithstyle.com/2008/05/25/cakephp-migrations-v40-release-candidate/comment-page-1/#comment-78</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Tue, 27 May 2008 21:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://developingwithstyle.com/?p=166#comment-78</guid>
		<description>Glad ya like it guys.

@Derick: Please feel free to open an issue. There is an option to select the issue type to enhancement.</description>
		<content:encoded><![CDATA[<p>Glad ya like it guys.</p>
<p>@Derick: Please feel free to open an issue. There is an option to select the issue type to enhancement.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
