<?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: Propel DATETIME errors</title>
	<atom:link href="http://www.visible-form.com/blog/propel-datetime-errors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.visible-form.com/blog/propel-datetime-errors/</link>
	<description>Rich Rodecker's blog on flash, flex, actionscript, javascript, and php, with a dash of randomness</description>
	<lastBuildDate>Thu, 11 Mar 2010 05:24:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Derek Martin</title>
		<link>http://www.visible-form.com/blog/propel-datetime-errors/comment-page-1/#comment-212015</link>
		<dc:creator>Derek Martin</dc:creator>
		<pubDate>Wed, 29 Jul 2009 21:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.visible-form.com/blog/?p=350#comment-212015</guid>
		<description>OMG. After trying to fix this issue for like 12 hours, FINALLY your post has lead me to the right area... defaultExpr.

I use propel-gen ./ creole or ./ reverse to create my schema.xml file.

I fixed it by:

$schema = file_get_contents(&#039;propel-schema.xml&#039;);

$schema = str_replace(&#039;default=&quot;CURRENT_TIMESTAMP&quot;&#039;,&#039;defaultExpr=&quot;CURRENT_TIMESTAMP&quot;&#039;,$schema);

file_put_contents(&#039;propel-schema.xml&#039;, $schema);

w00t!</description>
		<content:encoded><![CDATA[<p>OMG. After trying to fix this issue for like 12 hours, FINALLY your post has lead me to the right area&#8230; defaultExpr.</p>
<p>I use propel-gen ./ creole or ./ reverse to create my schema.xml file.</p>
<p>I fixed it by:</p>
<p>$schema = file_get_contents(&#8216;propel-schema.xml&#8217;);</p>
<p>$schema = str_replace(&#8216;default=&#8221;CURRENT_TIMESTAMP&#8221;&#8216;,&#8217;defaultExpr=&#8221;CURRENT_TIMESTAMP&#8221;&#8216;,$schema);</p>
<p>file_put_contents(&#8216;propel-schema.xml&#8217;, $schema);</p>
<p>w00t!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
