Re: Autoincrement auth_user_id?

Lukas Kahwe Smith <[email protected]> Wed, 25 Jan 2006 13:32:28 +0100
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Jacob G=E5rder wrote:
> Hi all!
>=20
> I have just messed around with LiveUser a couple of days, so if this is
> a stupid question...
>=20
> Is there someway to use MySQL-AUTOINCREMENT for auth_user_id? Or do you
> have to have the xxxx_seq-table to keep track of id's?
>=20
> I'm using the 'PEAR::DB' class for the authcontainer.

yes there is .. but not using the DB container only using the MDB2=20
container. you will have to set the "force_seq" option to false (see the=20
LiveUser_Admin example config for where you need to set it). you also=20
need to make the given fields auto increment. i still need to update the=20
installer to support this.

regards,
Lukas