Attempt to set foreign key to nonexistent table, sf_guard_user!

Posted by Stick it to THE MAN on Stack Overflow See other posts from Stack Overflow or by Stick it to THE MAN
Published on 2010-04-02T14:58:11Z Indexed on 2010/04/02 15:03 UTC
Read the original article Hit count: 416

Filed under:
|
|

I am using SF 1.3.2 with Propel ORM on Ubuntu 9.10.

I created a new SF project and simply copied the sfGuard plugin folder from a pre-existing SF 1.32 project. I manually edited the schema.yml in the new project, adding a user table that reference the the sfGuard table.

When I run propel:build-sql, I got the task failed, with the error message:

Attempt to set foreign key to nonexistent table, sf_guard_user!

I'm not sure why this error is occurring, (the error dosent make sense to me, since the sfGuard plugin works fine with the previous project, with no changes made.

what am I missing??

BTW, I have not created any apps in the project yet. I am just running the build-sql task first, to make sure that Propel has no problems with parsing my yml files etc.

© Stack Overflow or respective owner

Related posts about symfony

Related posts about propel