Vergleich install/resources/pgsql_db_tables.php - 1.8.0 - 1.8.22

  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',

 
  authsecret varchar(16) NOT NULL default '',
recovery_codes varchar(177) NOT NULL default '',

  UNIQUE (uid)
);";


  UNIQUE (uid)
);";


Zeile 44Zeile 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'

);";

$tables[] = "CREATE TABLE mybb_adminviews (

);";

$tables[] = "CREATE TABLE mybb_adminviews (

Zeile 81Zeile 84
  aid serial,
pid int NOT NULL default '0',
posthash varchar(50) NOT NULL default '',

  aid serial,
pid int NOT NULL default '0',
posthash varchar(50) NOT NULL default '',

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

  uid int NOT NULL default '0',
filename varchar(255) NOT NULL default '',

  filetype varchar(120) NOT NULL default '',
filesize int NOT NULL default '0',

  filetype varchar(120) NOT NULL default '',
filesize int NOT NULL default '0',

  attachname varchar(120) NOT NULL default '',

  attachname varchar(255) NOT NULL default '',

  downloads int NOT NULL default '0',
dateuploaded int NOT NULL default '0',
visible smallint NOT NULL default '0',

  downloads int NOT NULL default '0',
dateuploaded int NOT NULL default '0',
visible smallint NOT NULL default '0',

Zeile 100Zeile 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)

);";


);";


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

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

Zeile 117Zeile 124
$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)

);";


);";


$tables[] = "CREATE TABLE mybb_banfilters (
fid serial,
filter varchar(200) NOT NULL default '',

$tables[] = "CREATE TABLE mybb_banfilters (
fid serial,
filter varchar(200) NOT NULL default '',

Zeile 145Zeile 153

$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 204
  uid int NOT NULL default '0',
fid smallint NOT NULL default '0',
tids text NOT NULL,

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

  dateline int NOT NULL default '0',

  dateline int NOT NULL default '0',

  inputs text NOT NULL default '',
PRIMARY KEY (did)
);";

  inputs text NOT NULL default '',
PRIMARY KEY (did)
);";

Zeile 236Zeile 244
  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 341Zeile 350
  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,
uid int NOT NULL default '0',

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

Zeile 488Zeile 497
  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 (
vid serial,


$tables[] = "CREATE TABLE mybb_pollvotes (
vid serial,

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


  PRIMARY KEY (vid)
);";


Zeile 630Zeile 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 669Zeile 689
  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 875Zeile 895
  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 927Zeile 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 960Zeile 980
  showforumteam smallint NOT NULL default '0',
usereputationsystem smallint NOT NULL default '0',
cangivereputations smallint NOT NULL default '0',

  showforumteam smallint NOT NULL default '0',
usereputationsystem smallint NOT NULL default '0',
cangivereputations smallint NOT NULL default '0',

 
  candeletereputations smallint NOT NULL default '0',

  reputationpower int NOT NULL default '0',
maxreputationsday int NOT NULL default '0',
maxreputationsperuser int NOT NULL default '0',

  reputationpower int NOT NULL default '0',
maxreputationsday int NOT NULL default '0',
maxreputationsperuser int NOT NULL default '0',

Zeile 1012Zeile 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 '',
birthday varchar(15) NOT NULL default '',

  skype varchar(75) NOT NULL default '',
google varchar(75) NOT NULL default '',
birthday varchar(15) NOT NULL default '',

Zeile 1072Zeile 1091
  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)