propel-build-model時にmodelのタイムスタンプ更新を無効にする

一項目修正して再構築しただけで、modelのBaseクラスのファイル全てのタイムスタンプが変更されてしまうのを防ぐやり方。

config/propel.ini

- propel.addTimeStamp = true
+ propel.addTimeStamp = false

propel.iniを修正した直後に、propel-build-modelを行った場合、
Baseクラスが全て更新されるが、中身を見るとタイムスタンプの項目が無くなっていることが確認できる。

/**
 * This class adds structure of 'check_execution' table to 'propel' DatabaseMap object.
 *
 *
 * This class was autogenerated by Propel 1.3.0-dev on:
 *
 * Thu Feb  4 18:12:48 2010
 *
 *
 * These statically-built map classes are used by Propel to do runtime db structure discovery.
 * For example, the createSelectSql() method checks the type of a given column used in an
 * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
 * (i.e. if it's a text column type).
 *
 * @package    lib.model.map
 */

/**
 * This class adds structure of 'check_execution' table to 'propel' DatabaseMap object.
 *
 *
 *
 * These statically-built map classes are used by Propel to do runtime db structure discovery.
 * For example, the createSelectSql() method checks the type of a given column used in an
 * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
 * (i.e. if it's a text column type).
 *
 * @package    lib.model.map
 */

Subversionでのコミット時に大変煩わしかったので大助かり。

参考:http://labs.uechoco.com/blog/2009/12/symfony-propel-build-model-addtimestamp-false.html