Vergleich install/resources/mysql_db_tables.php - 1.2.1 - 1.2.7

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: mysql_db_tables.php 2269 2006-09-26 23:59:14Z Tikitiki $

 * $Id: mysql_db_tables.php 2932 2007-03-10 05:48:55Z chris $

 */

$tables[] = "CREATE TABLE mybb_adminlog (

 */

$tables[] = "CREATE TABLE mybb_adminlog (

Zeile 24Zeile 24
$tables[] = "CREATE TABLE mybb_adminoptions (
uid int(10) NOT NULL default '0',
cpstyle varchar(50) NOT NULL default '',

$tables[] = "CREATE TABLE mybb_adminoptions (
uid int(10) NOT NULL default '0',
cpstyle varchar(50) NOT NULL default '',

  notes text NOT NULL default '',

  notes text NOT NULL,

  permsset int(1) NOT NULL default '0',
caneditsettings char(3) NOT NULL default '',
caneditann char(3) NOT NULL default '',

  permsset int(1) NOT NULL default '0',
caneditsettings char(3) NOT NULL default '',
caneditann char(3) NOT NULL default '',

Zeile 62Zeile 62
  fid int(10) NOT NULL default '0',
uid int unsigned NOT NULL default '0',
subject varchar(120) NOT NULL default '',

  fid int(10) NOT NULL default '0',
uid int unsigned NOT NULL default '0',
subject varchar(120) NOT NULL default '',

  message text NOT NULL default '',

  message text NOT NULL,

  startdate bigint(30) NOT NULL default '0',
enddate bigint(30) NOT NULL default '0',
allowhtml char(3) NOT NULL default '',

  startdate bigint(30) NOT NULL default '0',
enddate bigint(30) NOT NULL default '0',
allowhtml char(3) NOT NULL default '',

Zeile 123Zeile 123
  uid int unsigned NOT NULL default '0',
gid int unsigned NOT NULL default '0',
oldgroup int unsigned NOT NULL default '0',

  uid int unsigned NOT NULL default '0',
gid int unsigned NOT NULL default '0',
oldgroup int unsigned NOT NULL default '0',

 
  oldadditionalgroups text NOT NULL,
olddisplaygroup int NOT NULL default '0',

  admin int unsigned NOT NULL default '0',
dateline bigint(30) NOT NULL default '0',
bantime varchar(50) NOT NULL default '',

  admin int unsigned NOT NULL default '0',
dateline bigint(30) NOT NULL default '0',
bantime varchar(50) NOT NULL default '',

Zeile 142Zeile 144

$tables[] = "CREATE TABLE mybb_datacache (
title varchar(50) NOT NULL default '',


$tables[] = "CREATE TABLE mybb_datacache (
title varchar(50) NOT NULL default '',

  cache mediumtext NOT NULL default '',

  cache mediumtext NOT NULL,

  PRIMARY KEY(title)
) TYPE=MyISAM;";


  PRIMARY KEY(title)
) TYPE=MyISAM;";


Zeile 151Zeile 153
  subject varchar(120) NOT NULL default '',
author int unsigned NOT NULL default '0',
date varchar(50) NOT NULL default '',

  subject varchar(120) NOT NULL default '',
author int unsigned NOT NULL default '0',
date varchar(50) NOT NULL default '',

  description text NOT NULL default '',

  description text NOT NULL,

  private char(3) NOT NULL default '',
KEY private (private),
PRIMARY KEY (eid)

  private char(3) NOT NULL default '',
KEY private (private),
PRIMARY KEY (eid)

Zeile 191Zeile 193
$tables[] = "CREATE TABLE mybb_forums (
fid smallint unsigned NOT NULL auto_increment,
name varchar(120) NOT NULL default '',

$tables[] = "CREATE TABLE mybb_forums (
fid smallint unsigned NOT NULL auto_increment,
name varchar(120) NOT NULL default '',

  description text NOT NULL default '',

  description text NOT NULL,

  linkto varchar(180) NOT NULL default '',
type char(1) NOT NULL default '',
pid smallint unsigned NOT NULL default '0',

  linkto varchar(180) NOT NULL default '',
type char(1) NOT NULL default '',
pid smallint unsigned NOT NULL default '0',

  parentlist text NOT NULL default '',

  parentlist text NOT NULL,

  disporder smallint unsigned NOT NULL default '0',
active char(3) NOT NULL default '',
open char(3) NOT NULL default '',

  disporder smallint unsigned NOT NULL default '0',
active char(3) NOT NULL default '',
open char(3) NOT NULL default '',

Zeile 223Zeile 225
  overridestyle char(3) NOT NULL default '',
rulestype smallint(1) NOT NULL default '0',
rulestitle varchar(200) NOT NULL default '',

  overridestyle char(3) NOT NULL default '',
rulestype smallint(1) NOT NULL default '0',
rulestitle varchar(200) NOT NULL default '',

  rules text NOT NULL default '',

  rules text NOT NULL,

  unapprovedthreads int(10) unsigned NOT NULL default '0',
unapprovedposts int(10) unsigned NOT NULL default '0',
defaultdatecut smallint(4) unsigned NOT NULL default '0',

  unapprovedthreads int(10) unsigned NOT NULL default '0',
unapprovedposts int(10) unsigned NOT NULL default '0',
defaultdatecut smallint(4) unsigned NOT NULL default '0',

Zeile 252Zeile 254
  hid smallint unsigned NOT NULL auto_increment,
sid smallint unsigned NOT NULL default '0',
name varchar(120) NOT NULL default '',

  hid smallint unsigned NOT NULL auto_increment,
sid smallint unsigned NOT NULL default '0',
name varchar(120) NOT NULL default '',

  description text NOT NULL default '',
document text NOT NULL default '',

  description text NOT NULL,
document text NOT NULL,

  usetranslation char(3) NOT NULL default '',
enabled char(3) NOT NULL default '',
disporder smallint unsigned NOT NULL default '0',

  usetranslation char(3) NOT NULL default '',
enabled char(3) NOT NULL default '',
disporder smallint unsigned NOT NULL default '0',

Zeile 264Zeile 266
$tables[] = "CREATE TABLE mybb_helpsections (
sid smallint unsigned NOT NULL auto_increment,
name varchar(120) NOT NULL default '',

$tables[] = "CREATE TABLE mybb_helpsections (
sid smallint unsigned NOT NULL auto_increment,
name varchar(120) NOT NULL default '',

  description text NOT NULL default '',

  description text NOT NULL,

  usetranslation char(3) NOT NULL default '',
enabled char(3) NOT NULL default '',
disporder smallint unsigned NOT NULL default '0',

  usetranslation char(3) NOT NULL default '',
enabled char(3) NOT NULL default '',
disporder smallint unsigned NOT NULL default '0',

Zeile 297Zeile 299
	message text NOT NULL,
headers text NOT NULL,
PRIMARY KEY(mid)

	message text NOT NULL,
headers text NOT NULL,
PRIMARY KEY(mid)

);";

) TYPE=MyISAM;";


$tables[] = "CREATE TABLE mybb_moderatorlog (
uid int unsigned NOT NULL default '0',


$tables[] = "CREATE TABLE mybb_moderatorlog (
uid int unsigned NOT NULL default '0',

Zeile 305Zeile 307
  fid smallint unsigned NOT NULL default '0',
tid int unsigned NOT NULL default '0',
pid int unsigned NOT NULL default '0',

  fid smallint unsigned NOT NULL default '0',
tid int unsigned NOT NULL default '0',
pid int unsigned NOT NULL default '0',

  action text NOT NULL default '',
data text NOT NULL default '',

  action text NOT NULL,
data text NOT NULL,

  ipaddress varchar(50) NOT NULL default '',
KEY tid (tid)
) TYPE=MyISAM;";

  ipaddress varchar(50) NOT NULL default '',
KEY tid (tid)
) TYPE=MyISAM;";

Zeile 339Zeile 341
$tables[] = "CREATE TABLE mybb_mycode (
cid int unsigned NOT NULL auto_increment,
title varchar(100) NOT NULL default '',

$tables[] = "CREATE TABLE mybb_mycode (
cid int unsigned NOT NULL auto_increment,
title varchar(100) NOT NULL default '',

  description text NOT NULL default '',
regex text NOT NULL default '',
replacement text NOT NULL default '',

  description text NOT NULL,
regex text NOT NULL,
replacement text NOT NULL,

  active char(3) NOT NULL default '',
PRIMARY KEY(cid)
) TYPE=MyISAM;";

  active char(3) NOT NULL default '',
PRIMARY KEY(cid)
) TYPE=MyISAM;";

Zeile 351Zeile 353
  tid int unsigned NOT NULL default '0',
question varchar(200) NOT NULL default '',
dateline bigint(30) NOT NULL default '0',

  tid int unsigned NOT NULL default '0',
question varchar(200) NOT NULL default '',
dateline bigint(30) NOT NULL default '0',

  options text NOT NULL default '',
votes text NOT NULL default '',

  options text NOT NULL,
votes text NOT NULL,

  numoptions smallint unsigned NOT NULL default '0',
numvotes smallint unsigned NOT NULL default '0',
timeout bigint(30) NOT NULL default '0',

  numoptions smallint unsigned NOT NULL default '0',
numvotes smallint unsigned NOT NULL default '0',
timeout bigint(30) NOT NULL default '0',

Zeile 382Zeile 384
  uid int unsigned NOT NULL default '0',
username varchar(80) NOT NULL default '',
dateline bigint(30) NOT NULL default '0',

  uid int unsigned NOT NULL default '0',
username varchar(80) NOT NULL default '',
dateline bigint(30) NOT NULL default '0',

  message text NOT NULL default '',

  message text NOT NULL,

  ipaddress varchar(30) NOT NULL default '',
includesig char(3) NOT NULL default '',
smilieoff char(3) NOT NULL default '',

  ipaddress varchar(30) NOT NULL default '',
includesig char(3) NOT NULL default '',
smilieoff char(3) NOT NULL default '',

Zeile 405Zeile 407
  folder smallint unsigned NOT NULL default '1',
subject varchar(120) NOT NULL default '',
icon smallint unsigned NOT NULL default '0',

  folder smallint unsigned NOT NULL default '1',
subject varchar(120) NOT NULL default '',
icon smallint unsigned NOT NULL default '0',

  message text NOT NULL default '',

  message text NOT NULL,

  dateline bigint(30) NOT NULL default '0',
status int(1) NOT NULL default '0',
includesig char(3) NOT NULL default '',

  dateline bigint(30) NOT NULL default '0',
status int(1) NOT NULL default '0',
includesig char(3) NOT NULL default '',

Zeile 421Zeile 423
$tables[] = "CREATE TABLE mybb_profilefields (
fid smallint unsigned NOT NULL auto_increment,
name varchar(100) NOT NULL default '',

$tables[] = "CREATE TABLE mybb_profilefields (
fid smallint unsigned NOT NULL auto_increment,
name varchar(100) NOT NULL default '',

  description text NOT NULL default '',

  description text NOT NULL,

  disporder smallint unsigned NOT NULL default '0',

  disporder smallint unsigned NOT NULL default '0',

  type text NOT NULL default '',

  type text NOT NULL,

  length smallint unsigned NOT NULL default '0',
maxlength smallint unsigned NOT NULL default '0',
required char(3) NOT NULL default '',

  length smallint unsigned NOT NULL default '0',
maxlength smallint unsigned NOT NULL default '0',
required char(3) NOT NULL default '',

Zeile 464Zeile 466
  uid int unsigned NOT NULL default '0',
dateline bigint(30) NOT NULL default '0',
ipaddress varchar(120) NOT NULL default '',

  uid int unsigned NOT NULL default '0',
dateline bigint(30) NOT NULL default '0',
ipaddress varchar(120) NOT NULL default '',

  threads text NOT NULL default '',
posts text NOT NULL default '',

  threads text NOT NULL,
posts text NOT NULL,

  searchtype varchar(10) NOT NULL default '',
resulttype varchar(10) NOT NULL default '',

  searchtype varchar(10) NOT NULL default '',
resulttype varchar(10) NOT NULL default '',

  querycache text NOT NULL default '',

  querycache text NOT NULL,

  PRIMARY KEY  (sid)
) TYPE=MyISAM;";


  PRIMARY KEY  (sid)
) TYPE=MyISAM;";


Zeile 496Zeile 498
  gid smallint unsigned NOT NULL auto_increment,
name varchar(100) NOT NULL default '',
title varchar(220) NOT NULL default '',

  gid smallint unsigned NOT NULL auto_increment,
name varchar(100) NOT NULL default '',
title varchar(220) NOT NULL default '',

  description text NOT NULL default '',

  description text NOT NULL,

  disporder smallint unsigned NOT NULL default '0',
isdefault char(3) NOT NULL default '',
PRIMARY KEY (gid)

  disporder smallint unsigned NOT NULL default '0',
isdefault char(3) NOT NULL default '',
PRIMARY KEY (gid)

Zeile 507Zeile 509
  sid smallint unsigned NOT NULL auto_increment,
name varchar(120) NOT NULL default '',
title varchar(120) NOT NULL default '',

  sid smallint unsigned NOT NULL auto_increment,
name varchar(120) NOT NULL default '',
title varchar(120) NOT NULL default '',

  description text NOT NULL default '',
optionscode text NOT NULL default '',
value text NOT NULL default '',

  description text NOT NULL,
optionscode text NOT NULL,
value text NOT NULL,

  disporder smallint unsigned NOT NULL default '0',
gid smallint unsigned NOT NULL default '0',
PRIMARY KEY (sid)

  disporder smallint unsigned NOT NULL default '0',
gid smallint unsigned NOT NULL default '0',
PRIMARY KEY (sid)

Zeile 556Zeile 558
  name varchar(100) NOT NULL default '',
pid smallint unsigned NOT NULL default '0',
def smallint(1) NOT NULL default '0',

  name varchar(100) NOT NULL default '',
pid smallint unsigned NOT NULL default '0',
def smallint(1) NOT NULL default '0',

  css text NOT NULL default '',
cssbits text NOT NULL default '',
themebits text NOT NULL default '',
extracss text NOT NULL default '',
allowedgroups text NOT NULL default '',

  css text NOT NULL,
cssbits text NOT NULL,
themebits text NOT NULL,
extracss text NOT NULL,
allowedgroups text NOT NULL,

  csscached bigint(30) NOT NULL default '0',
PRIMARY KEY (tid)
) TYPE=MyISAM;";

  csscached bigint(30) NOT NULL default '0',
PRIMARY KEY (tid)
) TYPE=MyISAM;";

Zeile 595Zeile 597
  sticky int(1) NOT NULL default '0',
numratings smallint unsigned NOT NULL default '0',
totalratings smallint unsigned NOT NULL default '0',

  sticky int(1) NOT NULL default '0',
numratings smallint unsigned NOT NULL default '0',
totalratings smallint unsigned NOT NULL default '0',

  notes text NOT NULL default '',

  notes text NOT NULL,

  visible int(1) NOT NULL default '0',
unapprovedposts int(10) unsigned NOT NULL default '0',
attachmentcount int(10) unsigned NOT NULL default '0',

  visible int(1) NOT NULL default '0',
unapprovedposts int(10) unsigned NOT NULL default '0',
attachmentcount int(10) unsigned NOT NULL default '0',

Zeile 618Zeile 620

$tables[] = "CREATE TABLE mybb_userfields (
ufid int unsigned NOT NULL default '0',


$tables[] = "CREATE TABLE mybb_userfields (
ufid int unsigned NOT NULL default '0',

  fid1 text NOT NULL default '',
fid2 text NOT NULL default '',
fid3 text NOT NULL default '',

  fid1 text NOT NULL,
fid2 text NOT NULL,
fid3 text NOT NULL,

  PRIMARY KEY  (ufid)
) TYPE=MyISAM;";


  PRIMARY KEY  (ufid)
) TYPE=MyISAM;";


Zeile 628Zeile 630
  gid smallint unsigned NOT NULL auto_increment,
type smallint(2) NOT NULL default '2',
title varchar(120) NOT NULL default '',

  gid smallint unsigned NOT NULL auto_increment,
type smallint(2) NOT NULL default '2',
title varchar(120) NOT NULL default '',

  description text NOT NULL default '',

  description text NOT NULL,

  namestyle varchar(200) NOT NULL default '{username}',
usertitle varchar(120) NOT NULL default '',
stars smallint(4) NOT NULL default '0',

  namestyle varchar(200) NOT NULL default '{username}',
usertitle varchar(120) NOT NULL default '',
stars smallint(4) NOT NULL default '0',

Zeile 707Zeile 709
  yahoo varchar(50) NOT NULL default '',
msn varchar(75) NOT NULL default '',
birthday varchar(15) NOT NULL default '',

  yahoo varchar(50) NOT NULL default '',
msn varchar(75) NOT NULL default '',
birthday varchar(15) NOT NULL default '',

  signature text NOT NULL default '',

  signature text NOT NULL,

  allownotices char(3) NOT NULL default '',
hideemail char(3) NOT NULL default '',
emailnotify char(3) NOT NULL default '',

  allownotices char(3) NOT NULL default '',
hideemail char(3) NOT NULL default '',
emailnotify char(3) NOT NULL default '',

Zeile 728Zeile 730
  timeformat varchar(4) NOT NULL default '',
timezone varchar(4) NOT NULL default '',
dst varchar(4) NOT NULL default '',

  timeformat varchar(4) NOT NULL default '',
timezone varchar(4) NOT NULL default '',
dst varchar(4) NOT NULL default '',

  buddylist text NOT NULL default '',
ignorelist text NOT NULL default '',

  buddylist text NOT NULL,
ignorelist text NOT NULL,

  style smallint unsigned NOT NULL default '0',
away char(3) NOT NULL default '',
awaydate int(10) unsigned NOT NULL default '0',
returndate varchar(15) NOT NULL default '',
awayreason varchar(200) NOT NULL default '',

  style smallint unsigned NOT NULL default '0',
away char(3) NOT NULL default '',
awaydate int(10) unsigned NOT NULL default '0',
returndate varchar(15) NOT NULL default '',
awayreason varchar(200) NOT NULL default '',

  pmfolders text NOT NULL default '',
notepad text NOT NULL default '',

  pmfolders text NOT NULL,
notepad text NOT NULL,

  referrer int unsigned NOT NULL default '0',
reputation bigint(30) NOT NULL default '0',
regip varchar(50) NOT NULL default '',

  referrer int unsigned NOT NULL default '0',
reputation bigint(30) NOT NULL default '0',
regip varchar(50) NOT NULL default '',