yaml
schema.ymlで引っかかる。 モデルのリビルドで、sql文がおかしいと言われる。 table: id: type: integer table2: table_id:としていると、symfonyがtable_idを自動的に外部キーとして認識してくれる。 カスケード削除の実現の為に table: id: type: integer …
Fatal error: Uncaught exception 'sfException' with message 'Unable to find path for class "○○Peer".' in /usr/share/pear/symfony/addon/propel/sfPropelData.class.php:207 Stack trace: #0 /usr/share/pear/symfony/addon/propel/sfPropelData.class…
ちょっとはまったので覚書。 エラー文 ‘The object “***″ from class “***” is not defined in your data file.’ テストデータに外部キーを読み込むときに頻発。 test_data.yml Table1: label1: name: なまえ body: ほんたい label2: name: なまえ2 body: …