On 24 Mar 18:36, Guillem Barba Domingo wrote: > El 24/03/2014 14:51, "Cédric Krier" <cedric.kr...@b2ck.com> va escriure: > > > > On 24 Mar 08:51, Guillem Barba Domingo wrote: > > > You can achieve what you want with a UNIQUE sql_constraint and with > _order > > > property of model. > > > > UNIQUE constraints should always avoided if possible. > > Why?
Because it is a constraint and each time you add a constraint you reduce the possibilities for the user. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgp8LZe7TlXzS.pgp
Description: PGP signature