Looking at the table structure of
CREATE TABLE IF NOT EXISTS `jos_awocoupon_vm_history` (
`coupon_id` varchar(32) NOT NULL DEFAULT '',
`user_id` int(11) NOT NULL,
`num` int(11) NOT NULL DEFAULT '0'
)
I would have expected that the "num" field would do some kind of counting.
What is the use of this field?
Should this be an auto increment value?
CREATE TABLE IF NOT EXISTS `jos_awocoupon_vm_history` (
`coupon_id` varchar(32) NOT NULL DEFAULT '',
`user_id` int(11) NOT NULL,
`num` int(11) NOT NULL DEFAULT '0'
)
I would have expected that the "num" field would do some kind of counting.
What is the use of this field?
Should this be an auto increment value?