address.mysql
CREATE TABLE ec_address (
aid int(11) NOT NULL auto_increment,
uid int(11) NOT NULL default '0',
firstname varchar(32) NOT NULL default '',
lastname varchar(32) NOT NULL default '',
street1 varchar(64) NOT NULL default '',
street2 varchar(64) NOT NULL default '',
zip varchar(10) NOT NULL default '',
city varchar(32) NOT NULL default '',
state varchar(32) default NULL,
country int(11) NOT NULL default '0',
PRIMARY KEY (aid)
) TYPE=MyISAM;
store.mysql
-- Table structure for table `ec_address`
--
CREATE TABLE ec_address (
aid int(11) NOT NULL auto_increment,
uid int(11) NOT NULL default '0',
firstname varchar(32) NOT NULL default '',
lastname varchar(32) NOT NULL default '',
street1 varchar(64) NOT NULL default '',
street2 varchar(64) NOT NULL default '',
zip varchar(10) NOT NULL default '',
city varchar(32) NOT NULL default '',
state varchar(32) default NULL,
country int(11) NOT NULL default '0',
PRIMARY KEY (aid)
) TYPE=MyISAM;
Comments
Comment #1
matt westgate commentedI don't see an error here.
Have you read the README?
Comment #2
carlmcdade commentedThat is not clear when installing the system. I installed the store first and then when running the address.mysql got an error because the table was already there. Even so in the adress readme there is nothing that says not to use that file. Either the adress.mysql should not be their or the documentation should be cleared up. The documentation should also have an order of installtion if there is going to be a conflict caused by order of installation.