CREATE TABLE `history` (
`id` int(11) NOT NULL,
`account` int(11) NOT NULL,
`date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`item` int(11) NOT NULL,
`taken` int(1) NOT NULL DEFAULT '1',
`pay_type` int(1) NOT NULL,
`coins` int(11) NOT NULL,
`type` int(1) NOT NULL DEFAULT '1',
`from_account` int(11) NOT NULL DEFAULT '0',
`to_player` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
şununla değiştir
CREATE TABLE `history` (
`id` int(11) NOT NULL,
`account` int(11) NOT NULL,
`date` datetime NOT NULL,
`item` int(11) NOT NULL,
`taken` int(1) NOT NULL DEFAULT '1',
`pay_type` int(1) NOT NULL,
`coins` int(11) NOT NULL,
`type` int(1) NOT NULL DEFAULT '1',
`from_account` int(11) NOT NULL DEFAULT '0',
`to_player` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;