Vergleich install/resources/pgsql_db_tables.php - 1.8.4 - 1.8.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 33Zeile 33
  defaultviews text NOT NULL,
loginattempts smallint NOT NULL default '0',
loginlockoutexpiry int NOT NULL default '0',

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

  2fasecret varchar(16) NOT NULL default '',

  authsecret varchar(16) NOT NULL default '',

  recovery_codes varchar(177) NOT NULL default '',
UNIQUE (uid)
);";

  recovery_codes varchar(177) NOT NULL default '',
UNIQUE (uid)
);";

Zeile 46Zeile 46
	dateline int NOT NULL default '0',
lastactive int NOT NULL default '0',
data text NOT NULL default '',

	dateline int NOT NULL default '0',
lastactive int NOT NULL default '0',
data text NOT NULL default '',

	useragent varchar(100) NOT NULL default '',

	useragent varchar(200) NOT NULL default '',

	authenticated smallint NOT NULL default '0'
);";


	authenticated smallint NOT NULL default '0'
);";


Zeile 67Zeile 67
);";

$tables[] = "CREATE TABLE mybb_announcements (

);";

$tables[] = "CREATE TABLE mybb_announcements (

  aid serial,

  aid serial,

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

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

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)
);";


  PRIMARY KEY (atid)
);";


Zeile 148Zeile 152

$tables[] = "CREATE TABLE mybb_buddyrequests (
id serial,


$tables[] = "CREATE TABLE mybb_buddyrequests (
id serial,

 uid int NOT NULL,
touid int NOT NULL,
date int NOT NULL,

 uid int NOT NULL default '0',
touid int NOT NULL default '0',
date int NOT NULL default '0',

 PRIMARY KEY (id)
);";


 PRIMARY KEY (id)
);";


Zeile 196Zeile 200
  did serial,
type varchar(30) NOT NULL default '',
delaydateline int NOT NULL default '0',

  did serial,
type varchar(30) NOT NULL default '',
delaydateline int NOT NULL default '0',

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

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

  tids text NOT NULL,
dateline int NOT NULL default '0',
inputs text NOT NULL default '',

  tids text NOT NULL,
dateline int NOT NULL default '0',
inputs text NOT NULL default '',

Zeile 239Zeile 243
  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',

  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 267Zeile 272
  lastposteruid int NOT NULL default '0',
lastposttid int NOT NULL default '0',
lastpostsubject varchar(120) NOT NULL default '',

  lastposteruid int NOT NULL default '0',
lastposttid int NOT NULL default '0',
lastpostsubject varchar(120) NOT NULL default '',

  allowhtml smallint NOT NULL default '0',
allowmycode smallint NOT NULL default '0',
allowsmilies smallint NOT NULL default '0',
allowimgcode smallint NOT NULL default '0',

  allowhtml smallint NOT NULL default '0',
allowmycode smallint NOT NULL default '0',
allowsmilies smallint NOT NULL default '0',
allowimgcode smallint NOT NULL default '0',

  allowvideocode smallint NOT NULL default '0',
allowpicons smallint NOT NULL default '0',
allowtratings smallint NOT NULL default '0',

  allowvideocode smallint NOT NULL default '0',
allowpicons smallint NOT NULL default '0',
allowtratings smallint NOT NULL default '0',

Zeile 298Zeile 303
  fid int NOT NULL default '0',
uid int NOT NULL default '0',
dateline int NOT NULL default '0'

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

);";

);";


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


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

Zeile 344Zeile 349
  name varchar(120) NOT NULL default '',
path varchar(220) NOT NULL default '',
PRIMARY KEY (iid)

  name varchar(120) NOT NULL default '',
path varchar(220) NOT NULL default '',
PRIMARY KEY (iid)

);";

);";


$tables[] = "CREATE TABLE mybb_joinrequests (
rid serial,


$tables[] = "CREATE TABLE mybb_joinrequests (
rid serial,

Zeile 491Zeile 496
  multiple smallint NOT NULL default '0',
public smallint NOT NULL default '0',
maxoptions smallint NOT NULL default '0',

  multiple smallint NOT NULL default '0',
public smallint NOT NULL default '0',
maxoptions smallint NOT NULL default '0',

  PRIMARY KEY (pid)

  PRIMARY KEY (pid)

);";

$tables[] = "CREATE TABLE mybb_pollvotes (

);";

$tables[] = "CREATE TABLE mybb_pollvotes (

Zeile 633Zeile 638
  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 672Zeile 687
  ip bytea NOT NULL default '',
time int NOT NULL default '0',
location varchar(150) NOT NULL default '',

  ip bytea NOT NULL default '',
time int NOT NULL default '0',
location varchar(150) NOT NULL default '',

  useragent varchar(100) NOT NULL default '',

  useragent varchar(200) NOT NULL default '',

  anonymous smallint NOT NULL default '0',
nopermission smallint NOT NULL default '0',
location1 int NOT NULL default '0',

  anonymous smallint NOT NULL default '0',
nopermission smallint NOT NULL default '0',
location1 int NOT NULL default '0',

Zeile 878Zeile 893
  tid int NOT NULL default '0',
notification smallint NOT NULL default '0',
dateline int NOT NULL default '0',

  tid int NOT NULL default '0',
notification smallint NOT NULL default '0',
dateline int NOT NULL default '0',

  subscriptionkey varchar(32) NOT NULL default '',

 
  PRIMARY KEY (sid)
);";


  PRIMARY KEY (sid)
);";


Zeile 930Zeile 944
  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',