Date index for Feb 2004


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [achievo] generating database entries



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Gert Verheyen wrote:

> Is it possible to manually change the current value of the id counter
> somewhere, so that the achievo entries are stored again ?

Yes, these are pulled from the db_sequence table. There's a record per
table that keeps track of the id.

If you use Achievo's backend to do your 'manual' inserts, you can update
this id by doing $new_id = $g_db->nextid("hours"); and then insert the
record based on the $new_id.

Greetings,
Ivo

- --
Ivo Jansch <ivo dot 
ibuildings.nl BV - information technology
http://www.ibuildings.nl

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAI7Vl95NUnGFZm9cRAvxxAJoCb92MsImGoYyqGg3jmrFxGkHqMwCg7eCb
hiZLvx6wtQa/HFTavcNU6v0=
=4633
-----END PGP SIGNATURE-----

http://www.achievo.org/lists achievo.org - ©1999-2002 ibuildings.nl BV