[odb-users] RE ODB Help with qualifier ID and object id

Boris Kolpackov boris at codesynthesis.com
Wed May 25 13:59:16 EDT 2011


Hi,

<art at it-gen.net> writes:

> We use the second approach.

Ok, thanks for the explanation. I have added this to our TODO list.
I am not sure we will be able to implement this for the next release
but we will try.


> CREATE TABLE IF NOT EXISTS `log` (
>   `DateC` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
>   `UserId` int(10) unsigned NOT NULL,
>   `Type` tinyint(3) unsigned NOT NULL,
>   `Value` int(11) NOT NULL,
>   PRIMARY KEY (`Id`)
> ) ENGINE=MyISAM DEFAULT CHARSET=utf8;

What about the "PRIMARY KEY (`Id`)" part in the above table? It this 
a typo?

Boris



More information about the odb-users mailing list