codice:
CREATE TABLE `catalog_shipments_types` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '',
`price` decimal(10,2) NOT NULL default '0.00',
`country` int(10) NOT NULL default '0',
`min_time_del` int(11) NOT NULL default '0',
`max_time_del` int(11) NOT NULL default '0',
`cod` decimal(10,2) NOT NULL default '0.00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Dump dei dati per la tabella `catalog_shipments_types`
--
INSERT INTO `catalog_shipments_types` (`id`, `name`, `price`, `country`,
`min_time_del`, `max_time_del`, `cod`)
VALUES (1, 'Poste Italiane', 8.60, 94, 24, 48, 0.00),
(2, 'Corriere espresso', 5.00, 94, 24, 48, 0.00);
CREATE TABLE `catalog_purchases_countries` (
`id` int(11) NOT NULL auto_increment,
`country` varchar(255) NOT NULL default '',
`able` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=213 ;
INSERT INTO `catalog_purchases_countries` (`id`, `country`, `able`)
VALUES (94, 'Italia', 0) ;
CREATE TABLE `catalog_payments_types` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '',
`country` int(10) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dump dei dati per la tabella `catalog_payments_types`
--
INSERT INTO `catalog_payments_types` (`id`, `name`, `country`)
VALUES (1, 'Bonifico bancario', 94);
Nella tabella catalog_purchases_countries in realtà ci sono molti più record ma ne ho postato solo uno (quello usato dalle altre due tabelle) per non appesantire inutilmente il forum.