CREATE TABLE `bl_game_vouchers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(64) NOT NULL,
  `description` varchar(256) DEFAULT NULL,
  `usages` int(11) NOT NULL DEFAULT 0,
  `usage_limit` int(11) NOT NULL DEFAULT -1,
  `products` varchar(512) NOT NULL,
  `expiration` varchar(16) DEFAULT NULL,
  `creator` varchar(64) DEFAULT NULL,
  primary key (id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

ALTER TABLE `bl_game_vouchers`
  ADD UNIQUE KEY `name` (`name`);