1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
| #
# Structure de la table `affichages`
#
CREATE TABLE affichages (
id int(10) unsigned NOT NULL auto_increment,
idsite mediumint(6) unsigned NOT NULL default '0',
idformat smallint(2) unsigned NOT NULL default '0',
idban int(10) unsigned NOT NULL default '0',
dest mediumint(6) unsigned NOT NULL default '0',
nb int(10) unsigned NOT NULL default '0',
date date NOT NULL default '0000-00-00',
PRIMARY KEY (id),
KEY idsite (idsite),
KEY idformat (idformat),
KEY idban (idban),
KEY dest (dest)
) TYPE=MyISAM;
# --------------------------------------------------------
#
# Structure de la table `clics`
#
CREATE TABLE clics (
id int(10) unsigned NOT NULL auto_increment,
idsite mediumint(6) unsigned NOT NULL default '0',
idformat smallint(2) unsigned NOT NULL default '0',
idban int(10) unsigned NOT NULL default '0',
dest mediumint(6) unsigned NOT NULL default '0',
nb int(10) unsigned NOT NULL default '0',
date date NOT NULL default '0000-00-00',
PRIMARY KEY (id),
KEY idsite (idsite),
KEY idformat (idformat),
KEY idban (idban),
KEY dest (dest)
) TYPE=MyISAM; |
Partager