phpBMS

root/trunk/phpbms/install/updatev0.6.sql

Revision 145, 1.8 KB (checked in by mipalmer, 6 years ago)

Setting SVN Revision, Last Change Author, and Last Changed Date

  • Property svn:keywords set to LastChangedBy LastChangedDate LastChangedRevision
Line 
1ALTER TABLE choices DROP selected;
2ALTER TABLE notes CHANGE followup assignedtodate date;
3ALTER TABLE notes ADD assignedtotime time;
4ALTER TABLE notes CHANGE `type` `type` varchar(2);
5ALTER TABLE notes CHANGE importance importance int not null default 0;
6ALTER TABLE notes ADD parentid int;
7ALTER TABLE notes ADD startdate date;
8ALTER TABLE notes ADD starttime time;
9ALTER TABLE notes ADD enddate date;
10ALTER TABLE notes ADD endtime time;
11ALTER TABLE notes ADD completed tinyint not null default 0;
12UPDATE notes SET completed=beenread;
13ALTER TABLE notes DROP beenread;
14ALTER TABLE notes ADD private tinyint not null default 0;
15ALTER TABLE notes ADD status varchar(64);
16ALTER TABLE notes ADD completeddate date;
17ALTER TABLE notes ADD location varchar(128);
18ALTER TABLE notes ADD category varchar(128);
19ALTER TABLE notes ADD assignedbyid int not null default 0;
20ALTER TABLE notes ADD repeattype varchar(20);
21ALTER TABLE notes ADD repeat tinyint not null default 0;
22ALTER TABLE notes ADD repeatuntildate date;
23ALTER TABLE notes ADD repeattimes int not null default 0;
24ALTER TABLE notes ADD repeatfrequency smallint default 1;
25ALTER TABLE notes ADD repeatdays CHAR(7);
26UPDATE notes set type="NT",importance=0;
27
28ALTER TABLE tablefindoptions ADD accesslevel int not null default 0;
29
30ALTER TABLE reports ADD accesslevel int not null default 0;
31
32ALTER TABLE usersearches ADD accesslevel int not null default 0;
33
34UPDATE menu SET accesslevel=10 WHERE accesslevel=0;
35
36ALTER TABLE tableoptions ADD accesslevel int not null default 0;
37
38ALTER TABLE tablecolumns ADD `format` ENUM("date","time","currency","boolean","datetime");
39
40DELETE FROM choices;
41DELETE FROM menu;
42DELETE FROM reports;
43DELETE FROM tablecolumns;
44DELETE FROM tablecolumns;
45DELETE FROM tabledefs;
46DELETE FROM tablefindoptions;
47DELETE FROM tableoptions;
48DELETE FROM tablesearchablefields;
Note: See TracBrowser for help on using the browser.
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.