hmm ... wüsste nicht wo ich die namen der Tabellen so umwandle (in eine 0 ??) , aber hier ist die Tabellenstruktur :
#
# Tabellenstruktur für Tabelle `buildings`
#
CREATE TABLE buildings (
hf1 tinyint(4) NOT NULL default '0',
hf2 tinyint(4) NOT NULL default '0',
hf3 tinyint(4) NOT NULL default '0',
hf4 tinyint(4) NOT NULL default '0',
account int(5) NOT NULL default '0',
dorfid int(5) NOT NULL auto_increment,
hf1_start bigint(20) NOT NULL default '0',
hf1_end bigint(20) NOT NULL default '0',
hf2_start bigint(20) NOT NULL default '0',
hf2_end bigint(20) NOT NULL default '0',
hf3_start bigint(20) NOT NULL default '0',
hf3_end bigint(20) NOT NULL default '0',
hf4_start bigint(20) NOT NULL default '0',
hf4_end bigint(20) NOT NULL default '0',
PRIMARY KEY (dorfid)
) TYPE=MyISAM;
#
# Tabellenstruktur für Tabelle `buildings`
#
CREATE TABLE buildings (
hf1 tinyint(4) NOT NULL default '0',
hf2 tinyint(4) NOT NULL default '0',
hf3 tinyint(4) NOT NULL default '0',
hf4 tinyint(4) NOT NULL default '0',
account int(5) NOT NULL default '0',
dorfid int(5) NOT NULL auto_increment,
hf1_start bigint(20) NOT NULL default '0',
hf1_end bigint(20) NOT NULL default '0',
hf2_start bigint(20) NOT NULL default '0',
hf2_end bigint(20) NOT NULL default '0',
hf3_start bigint(20) NOT NULL default '0',
hf3_end bigint(20) NOT NULL default '0',
hf4_start bigint(20) NOT NULL default '0',
hf4_end bigint(20) NOT NULL default '0',
PRIMARY KEY (dorfid)
) TYPE=MyISAM;
Kommentar