CREATE TABLE IF NOT EXISTS `payments` (
`id` int(11) NOT NULL
AUTO_INCREMENT,
`canceled` int(11) NOT NULL DEFAULT '0',
`v1` int(11)
NOT NULL DEFAULT '0',
`sum` int(11) NOT NULL DEFAULT '0',
`time`
timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`user` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`xsolla_id` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT
CHARSET=latin1 AUTO_INCREMENT=24 ;