I generate the sql from the schema.yml and get this CREATE TABLE sf_guard_user_profile (id BIGINT AUTO_INCREMENT, user_id INT NOT NULL, email VARCHAR(80) NOT NULL UNIQUE, firstname VARCHAR(30), lastname VARCHAR(70), validate_at datetime, validate VARCHAR(33), created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, INDEX user_id_idx (user_id), PRIMARY KEY(id)) ENGINE = INNODB; CREATE TABLE sf_guard_user_profile (id BIGINT AUTO_INCREMENT, user_id INT NOT NULL, email VARCHAR(80) NOT NULL UNIQUE, firstname VARCHAR(30), lastname VARCHAR(70), validate_at datetime, validate VARCHAR(33), created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, PRIMARY KEY(id)) ENGINE = INNODB;
the difference is that the first one create an index, i checked the model doctrine base table and the table sf_guard_user_profile has just one set of files to create it, so not sure why 2 lines are been created what cause an error when i run the insert-sql -- 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 To unsubscribe, reply using "remove me" as the subject.