Not sure if this solves it, check the type of data for id's used in FK references in the schema: int(4) or int It should be of the same type for the FK to work.
gabriel On Jun 3, 11:25 pm, "Wheaton, James S" <jwhea...@purdue.edu> wrote: > I’m in the midst of updating to symfony 1.4.1-stable; using > sfDoctrineGuardPlugin 4.0.1-stable. When trying to do a doctrine:build –all, > it fails on this error: > > SQLSTATE[HY000]: General error: 1005 Can't create table > 'notetolife.#sql-2ba_9d' (errno: 150). Failing Query: "ALTER TABLE > sf_guard_forgot_password ADD CONSTRAINT > sf_guard_forgot_password_user_id_sf_guard_user_id FOREIGN KEY (user_id) > REFERENCES sf_guard_user(id) ON DELETE CASCADE". Failing Query: ALTER TABLE > sf_guard_forgot_password ADD CONSTRAINT > sf_guard_forgot_password_user_id_sf_guard_user_id FOREIGN KEY (user_id) > REFERENCES sf_guard_user(id) ON DELETE CASCADE > > This seems to be something internal to the plugin. What can I do to fix it? > > Thanks in advance, > James Wheaton -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en