,我發現了以下錯誤: Array (
[0] => Missing table 'TEST_USERS'. If running from a test you may need to add 'app.TEST_USER' to the fixtures array. See output
below for more details.
[1] => Array
我需要將表移動到另一個數據庫。 如果我這樣做,所有HABTM關係都可以通過使用像this這樣的教程正常工作。 但是在其他模型中存在belongsTo和hasMany關係,這些關係在find()函數中似乎被忽略。 我發現: if databases for model is different the join build is bypassed. in source_dbo 有沒有深入到代碼中的任