Re: [symfony-users] sfGuard and schema.yml problem

2010-04-02 Thread Gabo
Good Day Kacper, Try to delete de tables of the database and: c:/symfony doctrine:insert-sql again! Gabriel Salamanca Cali, Colombia 2010/4/1 "Kacper Sieradziński [Code-art.eu]" > Hi, here is link to my schema.yml: > http://pastebin.com/Y7xAanD5 > > but I still get the errors like: > > SQLS

Re: [symfony-users] sfGuard and schema.yml problem

2010-04-02 Thread Michał Piotrowski
Witam, Tak na pierwszy rzut oka Twój design jest kiepski i pewnie dlatego nie działa. Jak powinien wyglądać w miarę dobry design? Profil -> relacja do sfGuardUser Note -> relacja do sfGuardUser Comment -> relacja do sfGuardUser i do Note Robisz jakieś dziwne niepotrzebne relacje w profilu. Prz

[symfony-users] sfGuard and schema.yml problem

2010-04-02 Thread Kacper Sieradziński [Code-art.eu]
Hi, here is link to my schema.yml: http://pastebin.com/Y7xAanD5 but I still get the errors like: SQLSTATE[HY000]: General error: 1005 Could not create table 'rucola_blip.#sql-158e_26a72' (error number: 150). Failing Query: "ALTER TABLE note ADD CONSTRAINT note_user_id_profile_id FOREIGN KEY (