<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>4's symfony blog &#187; prefix</title>
	<atom:link href="http://www.foolbirds.com/t/prefix/feed" rel="self" type="application/rss+xml" />
	<link>http://www.foolbirds.com</link>
	<description>all about symfony</description>
	<lastBuildDate>Fri, 14 Oct 2011 12:36:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Add table prefix  in symfony－在symfony中使用表前缀</title>
		<link>http://www.foolbirds.com/add-table-prefix-in-symfony.html</link>
		<comments>http://www.foolbirds.com/add-table-prefix-in-symfony.html#comments</comments>
		<pubDate>Tue, 24 Mar 2009 08:51:30 +0000</pubDate>
		<dc:creator>maker</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[prefix]]></category>
		<category><![CDATA[propel]]></category>
		<category><![CDATA[表前缀]]></category>

		<guid isPermaLink="false">http://www.foolbirds.com/?p=675</guid>
		<description><![CDATA[The propel 1.3 is support table prefixes.
In your config/propel.ini add the following:
propel.tablePrefix=prefix_
then run the propel:build-all-load task.
Done!
网上找不到任何关于symfony或者propel支持表前缀的资料，只在propel1.3的修改历史中发现了1.3是支持表前缀的，但文档却没有更新相关内容，无奈之下只能查看源码，最后终于让我找到了。
补遗：还有一种方法我觉得是更加可靠的，那就是手动修改schema.yml中的全部数据库名，手动加前缀，同时强制设定表的phpName保证其不会随着表名一同变化,然后重新./symfony propel:build-all
symfony数据表关联详解(for propel)关于数据查询的使用使用symfony filter 过滤URL仿symfony机制实现不用require或者include来实例化类symfony1.4 DateTime对于PHP低版本的兼容问题如何在fixtures.yml写循环添加数据symfony 1.4 数据库 utf8设置symfony cheat sheetCheat Sheets!如何使用swift发送邮件]]></description>
			<content:encoded><![CDATA[<p>The propel 1.3 is support table prefixes.</p>
<p>In your config/propel.ini add the following:</p>
<p><code>propel.tablePrefix=prefix_</code></p>
<p>then run the propel:build-all-load task.</p>
<p>Done!</p>
<p>网上找不到任何关于symfony或者propel支持表前缀的资料，只在propel1.3的修改历史中发现了1.3是支持表前缀的，但文档却没有更新相关内容，无奈之下只能查看源码，最后终于让我找到了。</p>
<p>补遗：还有一种方法我觉得是更加可靠的，那就是手动修改schema.yml中的全部数据库名，手动加前缀，同时强制设定表的phpName保证其不会随着表名一同变化,然后重新./symfony propel:build-all</p>
<ul class="related_post"><li><a href="http://www.foolbirds.com/symfony-references-with-propel.html" title="symfony数据表关联详解(for propel)">symfony数据表关联详解(for propel)</a></li><li><a href="http://www.foolbirds.com/use-orm-propel.html" title="关于数据查询的使用">关于数据查询的使用</a></li><li><a href="http://www.foolbirds.com/use_symfony_filter_to_filteredurl.html" title="使用symfony filter 过滤URL">使用symfony filter 过滤URL</a></li><li><a href="http://www.foolbirds.com/%e4%bb%bfsymfony%e6%9c%ba%e5%88%b6%e5%ae%9e%e7%8e%b0%e4%b8%8d%e7%94%a8require%e6%88%96%e8%80%85include%e6%9d%a5%e5%ae%9e%e4%be%8b%e5%8c%96%e7%b1%bb.html" title="仿symfony机制实现不用require或者include来实例化类">仿symfony机制实现不用require或者include来实例化类</a></li><li><a href="http://www.foolbirds.com/use-datetime-in-php5-1-x-with-symfony.html" title="symfony1.4 DateTime对于PHP低版本的兼容问题">symfony1.4 DateTime对于PHP低版本的兼容问题</a></li><li><a href="http://www.foolbirds.com/%e5%a6%82%e4%bd%95%e5%9c%a8fixtures-yml%e5%86%99%e5%be%aa%e7%8e%af%e6%b7%bb%e5%8a%a0%e6%95%b0%e6%8d%ae.html" title="如何在fixtures.yml写循环添加数据">如何在fixtures.yml写循环添加数据</a></li><li><a href="http://www.foolbirds.com/symfony-1-4-database-utf8.html" title="symfony 1.4 数据库 utf8设置">symfony 1.4 数据库 utf8设置</a></li><li><a href="http://www.foolbirds.com/symfony-cheat-sheet.html" title="symfony cheat sheet">symfony cheat sheet</a></li><li><a href="http://www.foolbirds.com/cheat-sheets.html" title="Cheat Sheets!">Cheat Sheets!</a></li><li><a href="http://www.foolbirds.com/how-to-use-swift-to-send-mail-in-symfon.html" title="如何使用swift发送邮件">如何使用swift发送邮件</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.foolbirds.com/add-table-prefix-in-symfony.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

