root/buddyloo/install.sql @ 536

Revision 536, 2.6 kB (checked in by d0nut, 5 years ago)

release version of buddyloo 0.9.5 pl 2 - fixed minor session id bug

Line 
1ALTER TABLE wcf1_user ADD socialID int(10) UNSIGNED NOT NULL DEFAULT '0';
2
3DROP TABLE IF EXISTS wcf1_buddyloo;
4CREATE TABLE wcf1_buddyloo (
5  userID int(10) unsigned NOT NULL,
6  whiteUserID int(10) unsigned NOT NULL,
7  PRIMARY KEY (userID,whiteUserID)
8) ENGINE=MyISAM DEFAULT CHARSET=utf8;
9
10DROP TABLE IF EXISTS wcf1_buddyloo_invitation;
11CREATE TABLE wcf1_buddyloo_invitation (
12  userID int(10) unsigned NOT NULL,
13  email varchar(255) NOT NULL,
14  PRIMARY KEY (userID,email)
15) ENGINE=MyISAM DEFAULT CHARSET=utf8;
16
17DROP TABLE IF EXISTS wcf1_buddyloo_social;
18CREATE TABLE wcf1_buddyloo_social (
19  socialID int(10) unsigned NOT NULL auto_increment,
20  socialTitle varchar(80) NOT NULL,
21  socialAccess tinyint(1) unsigned NOT NULL DEFAULT 0,
22  PRIMARY KEY (socialID)
23) ENGINE=MyISAM DEFAULT CHARSET=utf8;
24
25DROP TABLE IF EXISTS wcf1_buddyloo_gadget;
26CREATE TABLE wcf1_buddyloo_gadget (
27  gadgetID int(10) unsigned NOT NULL auto_increment,
28  gadgetTitle varchar(80) NOT NULL,
29  gadgetCode MEDIUMTEXT NOT NULL,
30  gadgetImage BLOB NULL DEFAULT NULL,
31  gadgetDescription TEXT NOT NULL,
32  PRIMARY KEY (gadgetID)
33) ENGINE=MyISAM DEFAULT CHARSET=utf8;
34
35--CREATE TABLE `ModulePrefs` (
36--`title` VARCHAR( 255 ) NOT NULL ,
37--`directory_title` VARCHAR( 80 ) NOT NULL ,
38--`title_url` VARCHAR( 255 ) NOT NULL ,
39--`description` TEXT NOT NULL ,
40--`author` VARCHAR( 80 ) NOT NULL ,
41--`author_email` VARCHAR( 80 ) NOT NULL ,
42--`author_affiliation` VARCHAR( 80 ) NOT NULL ,
43--`author_location` VARCHAR( 80 ) NOT NULL ,
44--`screenshot` VARCHAR( 255 ) NOT NULL ,
45--`thumbnail` VARCHAR( 255 ) NOT NULL ,
46--`height` INT UNSIGNED NOT NULL ,
47--`width` INT UNSIGNED NOT NULL ,
48--`scaling` BOOL NOT NULL ,
49--`scrolling` BOOL NOT NULL ,
50--`singleton` BOOL NOT NULL ,
51--`author_photo` VARCHAR( 255 ) NOT NULL ,
52--`author_aboutme` VARCHAR( 255 ) NOT NULL ,
53--`author_link` VARCHAR( 255 ) NOT NULL ,
54--`author_quote` VARCHAR( 255 ) NOT NULL
55--) ENGINE = MYISAM
56
57
58DROP TABLE IF EXISTS wcf1_buddyloo_gadget_to_social;
59CREATE TABLE wcf1_buddyloo_gadget_to_social (
60  boxID int(10) unsigned NOT NULL auto_increment,
61  socialID int(10) unsigned NOT NULL,
62  gadgetID int(10) unsigned NOT NULL,
63  icolumn tinyint(1) unsigned NOT NULL,
64  irow tinyint(1) unsigned NOT NULL,
65  visible tinyint(1) unsigned NOT NULL DEFAULT 1,
66  PRIMARY KEY (boxID)
67) ENGINE=MyISAM DEFAULT CHARSET=utf8;
68
69DROP TABLE IF EXISTS wcf1_buddyloo_user_to_social;
70CREATE TABLE wcf1_buddyloo_user_to_social (
71  userID int(10) unsigned NOT NULL,
72  socialID int(10) unsigned NOT NULL,
73  icolumn tinyint(1) unsigned NOT NULL,
74  PRIMARY KEY (userID,socialID)
75) ENGINE=MyISAM DEFAULT CHARSET=utf8;   
Note: See TracBrowser for help on using the browser.