Vergleich install/resources/pgsql_db_tables.php - 1.8.7 - 1.8.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 103Zeile 103
  extension varchar(10) NOT NULL default '',
maxsize int NOT NULL default '0',
icon varchar(100) NOT NULL default '',

  extension varchar(10) NOT NULL default '',
maxsize int NOT NULL default '0',
icon varchar(100) NOT NULL default '',

 
  enabled smallint NOT NULL default '1',
groups text NOT NULL default '-1',
forums text NOT NULL default '-1',
avatarfile smallint NOT NULL default '0',

  PRIMARY KEY (atid)
);";

$tables[] = "CREATE TABLE mybb_awaitingactivation (
aid serial,

  PRIMARY KEY (atid)
);";

$tables[] = "CREATE TABLE mybb_awaitingactivation (
aid serial,

  uid int NOT NULL default '0',
dateline int NOT NULL default '0',

  uid int NOT NULL default '0',
dateline int NOT NULL default '0',

  code varchar(100) NOT NULL default '',
type char(1) NOT NULL default '',
validated smallint NOT NULL default '0',
misc varchar(255) NOT NULL default '',
PRIMARY KEY (aid)

  code varchar(100) NOT NULL default '',
type char(1) NOT NULL default '',
validated smallint NOT NULL default '0',
misc varchar(255) NOT NULL default '',
PRIMARY KEY (aid)

);";


);";


$tables[] = "CREATE TABLE mybb_badwords (
bid serial,
badword varchar(100) NOT NULL default '',

$tables[] = "CREATE TABLE mybb_badwords (
bid serial,
badword varchar(100) NOT NULL default '',

 
  regex smallint NOT NULL default '0',

  replacement varchar(100) NOT NULL default '',
PRIMARY KEY (bid)
);";

  replacement varchar(100) NOT NULL default '',
PRIMARY KEY (bid)
);";

Zeile 131Zeile 136
  lastuse int NOT NULL default '0',
dateline int NOT NULL default '0',
PRIMARY KEY (fid)

  lastuse int NOT NULL default '0',
dateline int NOT NULL default '0',
PRIMARY KEY (fid)

);";

);";


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


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

Zeile 162Zeile 167
  showbirthdays smallint NOT NULL default '0',
eventlimit smallint NOT NULL default '0',
moderation smallint NOT NULL default '0',

  showbirthdays smallint NOT NULL default '0',
eventlimit smallint NOT NULL default '0',
moderation smallint NOT NULL default '0',

  allowhtml smallint NOT NULL default '0',
allowmycode smallint NOT NULL default '0',
allowimgcode smallint NOT NULL default '0',
allowvideocode smallint NOT NULL default '0',
allowsmilies smallint NOT NULL default '0',
PRIMARY KEY(cid)
);";


  allowhtml smallint NOT NULL default '0',
allowmycode smallint NOT NULL default '0',
allowimgcode smallint NOT NULL default '0',
allowvideocode smallint NOT NULL default '0',
allowsmilies smallint NOT NULL default '0',
PRIMARY KEY(cid)
);";


$tables[] = "CREATE TABLE mybb_calendarpermissions (
cid serial,
gid int NOT NULL default '0',

$tables[] = "CREATE TABLE mybb_calendarpermissions (
cid serial,
gid int NOT NULL default '0',

Zeile 177Zeile 182
  canaddevents smallint NOT NULL default '0',
canbypasseventmod smallint NOT NULL default '0',
canmoderateevents smallint NOT NULL default '0'

  canaddevents smallint NOT NULL default '0',
canbypasseventmod smallint NOT NULL default '0',
canmoderateevents smallint NOT NULL default '0'

);";


);";


$tables[] = "CREATE TABLE mybb_captcha (
imagehash varchar(32) NOT NULL default '',
imagestring varchar(8) NOT NULL default '',

$tables[] = "CREATE TABLE mybb_captcha (
imagehash varchar(32) NOT NULL default '',
imagestring varchar(8) NOT NULL default '',

Zeile 202Zeile 207
  dateline int NOT NULL default '0',
inputs text NOT NULL default '',
PRIMARY KEY (did)

  dateline int NOT NULL default '0',
inputs text NOT NULL default '',
PRIMARY KEY (did)

);";


);";


$tables[] = "CREATE TABLE mybb_events (
eid serial,
cid int NOT NULL default '0',

$tables[] = "CREATE TABLE mybb_events (
eid serial,
cid int NOT NULL default '0',

Zeile 235Zeile 240
  canonlyreplyownthreads smallint NOT NULL default '0',
canpostattachments smallint NOT NULL default '0',
canratethreads smallint NOT NULL default '0',

  canonlyreplyownthreads smallint NOT NULL default '0',
canpostattachments smallint NOT NULL default '0',
canratethreads smallint NOT NULL default '0',

  caneditposts smallint NOT NULL default '0',
candeleteposts smallint NOT NULL default '0',

  caneditposts smallint NOT NULL default '0',
candeleteposts smallint NOT NULL default '0',

  candeletethreads smallint NOT NULL default '0',
caneditattachments smallint NOT NULL default '0',

  candeletethreads smallint NOT NULL default '0',
caneditattachments smallint NOT NULL default '0',

 
  canviewdeletionnotice smallint NOT NULL default '0',

  modposts smallint NOT NULL default '0',
modthreads smallint NOT NULL default '0',
mod_edit_posts smallint NOT NULL default '0',

  modposts smallint NOT NULL default '0',
modthreads smallint NOT NULL default '0',
mod_edit_posts smallint NOT NULL default '0',

Zeile 302Zeile 308

$tables[] = "CREATE TABLE mybb_forumsubscriptions (
fsid serial,


$tables[] = "CREATE TABLE mybb_forumsubscriptions (
fsid serial,

  fid smallint NOT NULL default '0',
uid int NOT NULL default '0',

  fid smallint NOT NULL default '0',
uid int NOT NULL default '0',

  PRIMARY KEY (fsid)
);";


  PRIMARY KEY (fsid)
);";


Zeile 500Zeile 506
  uid int NOT NULL default '0',
voteoption smallint NOT NULL default '0',
dateline int NOT NULL default '0',

  uid int NOT NULL default '0',
voteoption smallint NOT NULL default '0',
dateline int NOT NULL default '0',

 
  ipaddress bytea NOT NULL default '',

  PRIMARY KEY (vid)
);";

$tables[] = "CREATE TABLE mybb_posts (

  PRIMARY KEY (vid)
);";

$tables[] = "CREATE TABLE mybb_posts (

  pid serial,

  pid serial,

  tid int NOT NULL default '0',
replyto int NOT NULL default '0',
fid smallint NOT NULL default '0',

  tid int NOT NULL default '0',
replyto int NOT NULL default '0',
fid smallint NOT NULL default '0',

Zeile 633Zeile 640
  id3 int NOT NULL default '0',
uid int NOT NULL default '0',
reportstatus smallint NOT NULL default '0',

  id3 int NOT NULL default '0',
uid int NOT NULL default '0',
reportstatus smallint NOT NULL default '0',

 
  reasonid smallint NOT NULL default '0',

  reason varchar(250) NOT NULL default '',
type varchar(50) NOT NULL default '',
reports int NOT NULL default '0',
reporters text NOT NULL default '',
dateline int NOT NULL default '0',
lastreport int NOT NULL default '0',

  reason varchar(250) NOT NULL default '',
type varchar(50) NOT NULL default '',
reports int NOT NULL default '0',
reporters text NOT NULL default '',
dateline int NOT NULL default '0',
lastreport int NOT NULL default '0',

 
  PRIMARY KEY (rid)
);";

$tables[] = "CREATE TABLE mybb_reportreasons (
rid serial,
title varchar(250) NOT NULL default '',
appliesto varchar(250) NOT NULL default '',
extra smallint NOT NULL default '0',
disporder smallint NOT NULL default '0',

  PRIMARY KEY (rid)
);";


  PRIMARY KEY (rid)
);";


Zeile 929Zeile 946
  candeleteposts smallint NOT NULL default '0',
candeletethreads smallint NOT NULL default '0',
caneditattachments smallint NOT NULL default '0',

  candeleteposts smallint NOT NULL default '0',
candeletethreads smallint NOT NULL default '0',
caneditattachments smallint NOT NULL default '0',

 
  canviewdeletionnotice smallint NOT NULL default '0',

  canpostpolls smallint NOT NULL default '0',
canvotepolls smallint NOT NULL default '0',
canundovotes smallint NOT NULL default '0',

  canpostpolls smallint NOT NULL default '0',
canvotepolls smallint NOT NULL default '0',
canundovotes smallint NOT NULL default '0',

Zeile 1015Zeile 1033
  lastpost int NOT NULL default '0',
website varchar(200) NOT NULL default '',
icq varchar(10) NOT NULL default '',

  lastpost int NOT NULL default '0',
website varchar(200) NOT NULL default '',
icq varchar(10) NOT NULL default '',

  aim varchar(50) NOT NULL default '',

 
  yahoo varchar(50) NOT NULL default '',
skype varchar(75) NOT NULL default '',
google varchar(75) NOT NULL default '',

  yahoo varchar(50) NOT NULL default '',
skype varchar(75) NOT NULL default '',
google varchar(75) NOT NULL default '',

Zeile 1075Zeile 1092
  suspendsigtime int NOT NULL default '0',
coppauser smallint NOT NULL default '0',
classicpostbit smallint NOT NULL default '0',

  suspendsigtime int NOT NULL default '0',
coppauser smallint NOT NULL default '0',
classicpostbit smallint NOT NULL default '0',

  loginattempts smallint NOT NULL default '1',


  loginattempts smallint NOT NULL default '0',
loginlockoutexpiry int NOT NULL default '0',

  usernotes text NOT NULL default '',
sourceeditor smallint NOT NULL default '0',
PRIMARY KEY (uid)

  usernotes text NOT NULL default '',
sourceeditor smallint NOT NULL default '0',
PRIMARY KEY (uid)