Thanks to all members that shared their ideas with me:
I was able to the solve my problem  after setting foreign_keys attribute to 
on :

sqlite> PRAGMA foreign_keys;
0
sqlite> PRAGMA foreign_keys = ON;
sqlite> PRAGMA foreign_keys;
1


On Monday, September 10, 2012 12:45:28 PM UTC+2, martzi wrote:
>
> Hi,
> I wonder if there's a way to enforce a one to one relationship with 
> Cascade via web2py  DAL API. ???
>

-- 



Reply via email to