From: Matt Hulse <matt.hu...@gmail.com>
Date: Thu, 15 May 2008 15:22:18 -0700 (PDT)
Local: Thurs 15 May 2008 23:22
Subject: Unique rows with auto increment
I have a permissions table which has two fields, page and action. I
don't want duplicate permission entries but that's what I'm getting since Doctrine wants an auto increment id field. How do you handle this kind of thing? I would really like to setup something like a singleton where I create
$permission = new Permission();
$permission = new Permission();
$permission = new Permission();
I would like to implement this in a way that will allow me to use
I appreciate any suggestions. Thanks in advance.
Matt You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||