Re: Problem with self referencing Foreign key field and mysql InnoDB

2009-04-16 Thread Tom Evans
On Thu, 2009-04-16 at 00:33 -0700, limas wrote: > I were using Mysql MyISAM. But I want to enable transaction. > So i shifted to InnoDB. > Actually I have one model as below (*designed somebody i can't > change). > > class Folder(models.Model): > folder_id=models.AutoField(primary_key=True)

Re: Problem with self referencing Foreign key field and mysql InnoDB

2009-04-16 Thread Daniel Roseman
On Apr 16, 8:33 am, limas wrote: > I were using Mysql MyISAM. But I want to enable transaction. > So i shifted to InnoDB. > Actually I have one model as below (*designed somebody i can't > change). > > class Folder(models.Model): >         folder_id=models.AutoField(primary_key=True) >         us