home *** CD-ROM | disk | FTP | other *** search
/ MetaWorlds Beta 17 / MSQMW17.ZIP / DATA.Z / update10.sql < prev    next >
Encoding:
Text File  |  1997-01-16  |  20.7 KB  |  558 lines

  1. /******************************************************************************/
  2. //            Beta 10
  3. //
  4. /******************************************************************************/
  5. SET OPTION ON_ERROR = CONTINUE;
  6. DROP PROCEDURE "dba".PreElevenUpdate;
  7. drop function ImportPCBUsers;
  8. create function "dba".ImportPCBUsers(in sAlias char(26),in sFirst char(26),
  9.      in sLast char(26),in sStreet1 char(81),in sStreet2 char(81),in sCity char(41),
  10.      in sState char(21),in sZip char(21),in sCountry char(41),in sPassword char(21),
  11.      in sVoicePhone char(21),in sDataPhone char(21),in sEmailAddr char(81),
  12.      in sCompany char(61),in sPCBUser char(26),in vAcctID integer,in vProfID integer)
  13. returns integer
  14. begin
  15.   declare vNewID integer;
  16.   if(select id from users where fname=sFirst and lname=sLast and pcbuser=sPCBUser) is null then
  17.     set vNewID=(select max(id) from users)+1;
  18.     insert into users values(
  19.       vNewID,sAlias,sFirst,sLast,sStreet1,sStreet2,sCity,sState,sZip,sCountry,sPassword,vAcctID,sVoicePhone,sDataPhone,sEmailAddr,sCompany,sPCBUser,'');
  20.     insert into user_profile values(vNewID,vProfID)
  21.   else
  22.     set vNewID=-1
  23.   end if
  24.   ;
  25.   return(vNewID)
  26. end;
  27.  
  28. drop function "dba".ImportConferences;
  29. create function "dba".ImportConferences(in sConfName char(81),in vConfNum char(21),in vConfID char(21),in vDirNum char(21),in sDirDesc char(81),in vWhichOpt integer)
  30. returns integer
  31. begin
  32.   declare ReturnValue integer;
  33.   declare vNewConfID integer;
  34.   declare vNewMsgID integer;
  35.   declare vNewFileID integer;
  36.   declare tStr char(81);
  37.   if vWhichOpt=0 then // Adding a new area & message base or just message base
  38.     set vNewConfID=(select id from subsysin where descript=sConfName and typeid=0);
  39.     if vNewConfID is null then
  40.       insert into subsysin(TypeID,Instparam,Descript) values(0,'area_nb.sht',sConfName);
  41.       set vNewConfID=@@identity;
  42.       insert into area_sub values(0,vNewConfID);
  43.       insert into areas values(vNewConfID)
  44.     end if
  45.     ;
  46.     set vNewMsgID=(select max(ID) from subsysin)+1;
  47.     set tStr=cast(vNewMsgID as char(5))+'&conf='+vConfNum;
  48.     insert into subsysin(id,typeid,instparam,descript) values(vNewMsgID,5,tStr,'Messages');
  49.     insert into area_sub values(vNewConfID,vNewMsgID);
  50.     insert into areas values(vNewMsgID);
  51.     set ReturnValue=vNewConfID
  52.   else // Adding a new file directory
  53.     set tStr='conf='+vConfNum;
  54.     set vNewFileID=(select id from subsysin where descript=sDirDesc and typeid=6 and(locate(subsysin.instparam,tStr)>0));
  55.     if vNewFileID is null then
  56.       insert into subsysin(typeid,descript) values(6,sDirDesc);
  57.       set vNewFileID=@@identity;
  58.       set tStr=cast(vNewFileID as char(5))+'&DOCUMENT=pcbfile.sht&conf='+vConfNum+'&dir='+vDirNum;
  59.       update subsysin set instparam=tStr where id=vNewFileID;
  60.       insert into area_sub values(vConfID,vNewFileID);
  61.       insert into areas values(vNewFileID)
  62.     end if
  63.     ;
  64.     set ReturnValue=vNewFileID
  65.   end if
  66.   ;
  67.   return(ReturnValue)
  68. end;
  69.  
  70. unload table configuration to '.\\_mwdata_.dat';
  71. drop table configuration;
  72. CREATE TABLE Configuration(
  73.   action      long varchar NOT NULL DEFAULT '',
  74.   ssifile     long varchar NOT NULL DEFAULT ''
  75. );
  76. load table configuration from '.\\_mwdata_.dat';
  77.  
  78.  
  79. unload table area_dirs to '.\\_mwdata_.dat';
  80. drop table area_dirs;
  81. CREATE TABLE area_dirs(
  82.   area_id     integer NOT NULL DEFAULT AUTOINCREMENT,
  83.   directory   long varchar NOT NULL DEFAULT ''
  84. );
  85. load table area_dirs from '.\\_mwdata_.dat';
  86.  
  87.  
  88. unload table browser_hosts to '.\\_mwdata_.dat';
  89. drop table browser_hosts;
  90. CREATE TABLE browser_hosts(
  91.   server_Name long varchar UNIQUE NOT NULL DEFAULT '',
  92.   root          long varchar NOT NULL DEFAULT ''
  93. );
  94. load table browser_hosts from '.\\_mwdata_.dat';
  95.  
  96.  
  97. unload table accounts to '.\\_mwdata_.dat';
  98. drop table accounts;
  99. CREATE TABLE Accounts(
  100.   Id          integer NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT,
  101.   MasterUser    integer NOT NULL DEFAULT 0
  102. );
  103. load table accounts from '.\\_mwdata_.dat';
  104.  
  105.  
  106. unload table acctinst to '.\\_mwdata_.dat';
  107. drop table acctinst;
  108. CREATE TABLE AcctInst(
  109.   ID          integer NOT NULL DEFAULT AUTOINCREMENT,
  110.   AccountID   integer NOT NULL DEFAULT 0,
  111.   UserId      integer NOT NULL DEFAULT 0,
  112.   TypeDesc    long varchar NOT NULL DEFAULT '',
  113.   InstncDesc    long varchar NOT NULL DEFAULT '',
  114.   Charge      long varchar NOT NULL DEFAULT '',
  115.   ChDate      long varchar NOT NULL DEFAULT ''
  116. );
  117. load table acctinst from '.\\_mwdata_.dat';
  118.  
  119.  
  120. unload table area_sub to '.\\_mwdata_.dat';
  121. drop table area_sub;
  122. CREATE TABLE Area_Sub(
  123.   AreaID      integer NOT NULL DEFAULT 0,
  124.   InstanceId    integer NOT NULL DEFAULT 0
  125. );
  126. load table area_sub from '.\\_mwdata_.dat';
  127.  
  128.  
  129. unload table sub_prof to '.\\_mwdata_.dat';
  130. drop table sub_prof;
  131. CREATE TABLE Sub_Prof(
  132.   InstanceID    integer NOT NULL DEFAULT 0,
  133.   ProfileId   integer NOT NULL DEFAULT 0
  134. );
  135. load table sub_prof from '.\\_mwdata_.dat';
  136.  
  137.  
  138. unload table areas to '.\\_mwdata_.dat';
  139. drop table areas;
  140. CREATE TABLE Areas(
  141.   ID          integer NOT NULL PRIMARY KEY DEFAULT 0
  142. );
  143. load table areas from '.\\_mwdata_.dat';
  144.  
  145.  
  146. update files set ddate = '80/01/01' where ddate=NULL;
  147. alter table files modify ddate date;
  148. alter table files modify size integer;
  149. unload table files to '.\\_mwdata_.dat';
  150. drop table files;
  151. CREATE TABLE Files(
  152.   ID          integer NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT,
  153.   URL          long varchar NOT NULL DEFAULT '',
  154.   Descript    long varchar NOT NULL DEFAULT '',
  155.   Size          integer NOT NULL DEFAULT 0,
  156.   DDate       date NOT NULL DEFAULT '80/01/01'
  157. );
  158. load table files from '.\\_mwdata_.dat';
  159.  
  160.  
  161. unload table flb_file to '.\\_mwdata_.dat';
  162. drop table flb_file;
  163. CREATE TABLE FLB_File(
  164.   FbID          integer DEFAULT AUTOINCREMENT NOT NULL,
  165.   FID          integer NOT NULL DEFAULT 0
  166. );
  167. load table flb_file from '.\\_mwdata_.dat';
  168.  
  169.  
  170. unload table profiles to '.\\_mwdata_.dat';
  171. drop table profiles;
  172. CREATE TABLE Profiles(
  173.   ID          integer NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT,
  174.   Name          long varchar NOT NULL DEFAULT 'Undefined'
  175. );
  176. load table profiles from '.\\_mwdata_.dat';
  177.  
  178.  
  179. unload table subsysin to '.\\_mwdata_.dat';
  180. drop table subsysin;
  181. CREATE TABLE SubSysIn(
  182.   ID          integer NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT,
  183.   TypeId      integer NOT NULL DEFAULT 0,
  184.   InstParam   long varchar NOT NULL DEFAULT 'area_nb.sht',
  185.   Descript    long varchar NOT NULL DEFAULT 'Undefined',
  186.   Button      long varchar NOT NULL DEFAULT '',
  187.   BannerGraphic long varchar NOT NULL DEFAULT ''
  188. );
  189. load table subsysin from '.\\_mwdata_.dat';
  190.  
  191.  
  192. unload table subsystp to '.\\_mwdata_.dat';
  193. drop table subsystp;
  194. CREATE TABLE SubSysTP(
  195.   ID          integer DEFAULT AUTOINCREMENT NOT NULL,
  196.   Descript    long varchar NOT NULL DEFAULT 'Undefined',
  197.   QueryScript long varchar NOT NULL DEFAULT '',
  198.   TypeParam   long varchar NOT NULL DEFAULT '',
  199.   Button      long varchar NOT NULL DEFAULT ''
  200. );
  201. load table subsystp from '.\\_mwdata_.dat';
  202.  
  203.  
  204. unload table user_profile to '.\\_mwdata_.dat';
  205. drop table user_profile;
  206. CREATE TABLE User_Profile(
  207.   UserID      integer NOT NULL DEFAULT 0,
  208.   ProfileID   integer NOT NULL DEFAULT 0
  209. );
  210. load table user_profile from '.\\_mwdata_.dat';
  211.  
  212.  
  213. unload table sappsif to '.\\_mwdata_.dat';
  214. drop table sappsif;
  215. CREATE TABLE SappSIF(
  216.   ID        integer NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT,
  217.   MachineName    long varchar NOT NULL DEFAULT '<default>',
  218.   ServiceName    long varchar NOT NULL DEFAULT '',
  219.   CommandLine    long varchar NOT NULL DEFAULT ''
  220. );
  221. load table sappsif from '.\\_mwdata_.dat';
  222.  
  223.  
  224. unload table machines to '.\\_mwdata_.dat';
  225. drop table machines;
  226. CREATE TABLE Machines(
  227.   ID        integer PRIMARY KEY DEFAULT AUTOINCREMENT,
  228.   MachineName    long varchar NOT NULL DEFAULT '',
  229.   License    integer NOT NULL DEFAULT 0
  230. );
  231. load table machines from '.\\_mwdata_.dat';
  232.  
  233.  
  234. unload table servers to '.\\_mwdata_.dat';
  235. drop table servers;
  236. CREATE TABLE Servers (
  237.   id          integer PRIMARY KEY DEFAULT AUTOINCREMENT NOT NULL,
  238.   name          char(72) NOT NULL DEFAULT 'Unknown Server',
  239.   machineId   integer NOT NULL DEFAULT 0,
  240.   defaultTimeOut  integer NOT NULL DEFAULT 0,      // In minutes
  241.   FOREIGN KEY (machineId) REFERENCES Machines (id)
  242. );
  243. load table servers from '.\\_mwdata_.dat';
  244.  
  245.  
  246. unload table logcategory to '.\\_mwdata_.dat';
  247. drop table logcategory;
  248. CREATE TABLE LogCategory (
  249.   CategoryId    INTEGER DEFAULT AUTOINCREMENT NOT NULL,
  250.   Category    long varchar NOT NULL UNIQUE DEFAULT 'Unknown',
  251.   Permissions    INTEGER DEFAULT 0 NOT NULL,
  252.   Description    long varchar NOT NULL DEFAULT 'No description',
  253.   PRIMARY KEY(CategoryId)
  254. );
  255. load table logcategory from '.\\_mwdata_.dat';
  256.  
  257.  
  258. unload table log to '.\\_mwdata_.dat';
  259. drop table log;
  260. CREATE TABLE Log (
  261.   Id         INTEGER DEFAULT AUTOINCREMENT NOT NULL,
  262.   CategoryId     INTEGER NOT NULL DEFAULT 0,
  263.   LogType     INTEGER NOT NULL DEFAULT 0,
  264.   LogTime     timestamp NOT NULL DEFAULT '80/01/01 00:00',
  265.   theUser     long varchar NOT NULL DEFAULT '',
  266.   Computer     long varchar NOT NULL DEFAULT '',
  267.   Source     long varchar NOT NULL DEFAULT '',
  268.   Description     long varchar NOT NULL DEFAULT '',
  269.   PRIMARY KEY(Id),
  270.   FOREIGN KEY (categoryId) REFERENCES LogCategory (CategoryId)
  271. );
  272. load table log from '.\\_mwdata_.dat';
  273.  
  274.  
  275. unload table commdevices to '.\\_mwdata_.dat';
  276. drop table commdevices;
  277. CREATE TABLE CommDevices(
  278.   ID          integer NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT,
  279.   MACHINE      long varchar NOT NULL DEFAULT '',
  280.   DeviceName      long varchar NOT NULL DEFAULT '',
  281.   AttachedTo      long varchar NOT NULL DEFAULT '',
  282.   UseDevice      integer NOT NULL DEFAULT 0
  283. );
  284. load table commdevices from '.\\_mwdata_.dat';
  285.  
  286.  
  287. unload table commdeviceusage to '.\\_mwdata_.dat';
  288. drop table commdeviceusage;
  289. CREATE TABLE CommDeviceUsage(
  290.   DeviceID    integer NOT NULL DEFAULT 0,
  291.   UsageID     integer NOT NULL DEFAULT 0,
  292.   ID          integer NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT
  293. );
  294. load table commdeviceusage from '.\\_mwdata_.dat';
  295.  
  296.  
  297. unload table usagetypes to '.\\_mwdata_.dat';
  298. drop table usagetypes;
  299. CREATE TABLE UsageTypes (
  300.   ID          integer NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT,
  301.   type          long varchar NOT NULL DEFAULT ''
  302. );
  303. load table usagetypes from '.\\_mwdata_.dat';
  304.  
  305.  
  306. unload table callhistory to '.\\_mwdata_.dat';
  307. drop table callhistory;
  308. CREATE TABLE CallHistory (
  309.   ID          integer NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT,
  310.   Device      integer NOT NULL DEFAULT 0,
  311.   LogOn       TimeStamp NOT NULL DEFAULT '80/01/01 00:00',
  312.   LogOff      TimeStamp NOT NULL DEFAULT '80/01/01 00:00',
  313.   UserID      integer NOT NULL DEFAULT 0,
  314.   CallType    integer NOT NULL DEFAULT 0,
  315.   ThruPut     integer NOT NULL DEFAULT 0,
  316.   Remarks     long varchar NOT NULL DEFAULT '',
  317.   actions     long varchar NOT NULL DEFAULT ''
  318. );
  319. load table callhistory from '.\\_mwdata_.dat';
  320.  
  321.  
  322. unload table ipaddr to '.\\_mwdata_.dat';
  323. drop table ipaddr;
  324. CREATE TABLE IPAddr (
  325.    Addr       char(16) NOT NULL PRIMARY KEY DEFAULT '0.0.0.0',
  326.    Machine    long varchar NOT NULL DEFAULT '<default>',
  327.    Description      long varchar NOT NULL DEFAULT 'Undefined'
  328. );
  329. load table ipaddr from '.\\_mwdata_.dat';
  330.  
  331.  
  332. drop table useron;
  333. CREATE TABLE UserOn (
  334.   id          integer PRIMARY KEY DEFAULT AUTOINCREMENT NOT NULL,
  335.   userId      integer NOT NULL DEFAULT 0,
  336.   machineId   integer NOT NULL DEFAULT 0,
  337.   serverId    integer NOT NULL DEFAULT 0,
  338.   timeOut     integer NOT NULL DEFAULT 0,        // time in minutes
  339.   actionTime    TimeStamp NOT NULL DEFAULT '80/01/01 00:00:00',
  340.   FOREIGN KEY (userId)      REFERENCES Users (id),
  341.   FOREIGN KEY (machineId) REFERENCES Machines (id),
  342.   FOREIGN KEY (serverId)  REFERENCES Servers(id)
  343. );
  344.  
  345.  
  346. unload table cgi_path to '.\\_mwdata_.dat';
  347. drop table cgi_path;
  348. CREATE TABLE cgi_path (
  349.   cgi        long varchar UNIQUE NOT NULL DEFAULT '',
  350.   location    long varchar NOT NULL DEFAULT ''
  351. );
  352. load table cgi_path from '.\\_mwdata_.dat';
  353.  
  354. unload table mimetypes to '.\\_mwdata_.dat';
  355. drop table mimetypes;
  356. CREATE TABLE MimeTypes (
  357.   MimeId    integer  UNIQUE NOT NULL DEFAULT AUTOINCREMENT,
  358.   Extension    char(11) UNIQUE NOT NULL DEFAULT '',
  359.   Description    char(81) NOT NULL DEFAULT ''
  360. );
  361. load table mimetypes from '.\\_mwdata_.dat';
  362. CREATE INDEX MimeTypesIdx on MimeTypes (Extension);
  363.  
  364. unload table counturl to '.\\_mwdata_.dat';
  365. drop table counturl;
  366. CREATE TABLE counturl(
  367.   url        long varchar NOT NULL DEFAULT '',
  368.   count     integer NOT NULL DEFAULT 0
  369. );
  370. load table counturl from '.\\_mwdata_.dat';
  371.  
  372.  
  373. unload table messages to '.\\_mwdata_.dat';
  374. drop table messages;
  375. CREATE TABLE Messages(
  376.   MsgID           integer NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT,
  377.   MsgSubject          long varchar NOT NULL DEFAULT '',
  378.   MsgFrom          long varchar NOT NULL DEFAULT '',
  379.   MsgTo           long varchar NOT NULL DEFAULT '',
  380.   MsgBody          long binary NOT NULL DEFAULT '',
  381.   MsgPrivate          integer NOT NULL DEFAULT 0,
  382.   PostDate          long varchar,
  383.   PostTime          long varchar,
  384.   ReadDate          long varchar,
  385.   ReadTime          long varchar,
  386.   ContentType          long varchar NOT NULL DEFAULT '',
  387.   ContentTransferEncoding long varchar NOT NULL DEFAULT ''
  388. );
  389. load table messages from '.\\_mwdata_.dat';
  390.  
  391.  
  392. unload table msg_user to '.\\_mwdata_.dat';
  393. drop table msg_user;
  394. CREATE TABLE Msg_User(
  395.   MsgID           integer NOT NULL DEFAULT 0,
  396.   UsrID           integer NOT NULL DEFAULT 0
  397. );
  398. load table msg_user from '.\\_mwdata_.dat';
  399.  
  400.  
  401. unload table msgb_msg to '.\\_mwdata_.dat';
  402. drop table msgb_msg;
  403. CREATE TABLE MsgB_Msg(
  404.   MbID              integer NOT NULL DEFAULT 0,
  405.   MID              integer NOT NULL DEFAULT 0
  406. );
  407. load table msgb_msg from '.\\_mwdata_.dat';
  408.  
  409.  
  410. unload table lmrs to '.\\_mwdata_.dat';
  411. drop table lmrs;
  412. CREATE TABLE LMRS(
  413.   UsrID           integer NOT NULL DEFAULT 0,
  414.   MbID              integer NOT NULL DEFAULT 0,
  415.   LMR              integer NOT NULL DEFAULT 0
  416. );
  417. load table lmrs from '.\\_mwdata_.dat';
  418.  
  419.  
  420. unload table mail_prot to '.\\_mwdata_.dat';
  421. drop table mail_prot;
  422. create table mail_prot
  423. (
  424.   id    integer NOT NULL DEFAULT 0,
  425.   name    long varchar NOT NULL DEFAULT 'Undefined'
  426. );
  427. load table mail_prot from '.\\_mwdata_.dat';
  428.  
  429.  
  430. unload table mail_prot_instance to '.\\_mwdata_.dat';
  431. drop table mail_prot_instance;
  432. CREATE TABLE mail_prot_instance
  433. (
  434.   id        integer NOT NULL DEFAULT AUTOINCREMENT,
  435.   prot_id    integer NOT NULL DEFAULT 0,
  436.   address    long varchar NOT NULL DEFAULT '',
  437.   msgb_id    integer NOT NULL DEFAULT 0
  438. );
  439. load table mail_prot_instance from '.\\_mwdata_.dat';
  440.  
  441.  
  442. unload table mpi_msg to '.\\_mwdata_.dat';
  443. drop table mpi_msg;
  444. create table mpi_msg
  445. (
  446.   pi_id   integer NOT NULL DEFAULT 0,
  447.   msg_id  integer NOT NULL DEFAULT 0,
  448. );
  449. load table mpi_msg from '.\\_mwdata_.dat';
  450.  
  451.  
  452. unload table users to '.\\_mwdata_.dat';
  453. drop table users;
  454. CREATE TABLE Users(
  455.   ID          integer NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT,
  456.   Alias       char(41) NOT NULL DEFAULT '',
  457.   FName       char(21) NOT NULL DEFAULT '',
  458.   LName       char(21) NOT NULL DEFAULT '',
  459.   Street1     char(81) NOT NULL DEFAULT '',
  460.   Street2     char(81) NOT NULL DEFAULT '',
  461.   City          char(41) NOT NULL DEFAULT '',
  462.   State       char(21) NOT NULL DEFAULT '',
  463.   Zip          char(11) NOT NULL DEFAULT '',
  464.   Country     char(41) NOT NULL DEFAULT '',
  465.   Passwd      char(21) NOT NULL DEFAULT '',
  466.   Account     integer NOT NULL DEFAULT 0,
  467.   vphone      char(21) NOT NULL DEFAULT '',
  468.   dphone      char(21) NOT NULL DEFAULT '',
  469.   email       char(81) NOT NULL DEFAULT '',
  470.   company     char(81) NOT NULL DEFAULT '',
  471.   pcbuser     char(26) NOT NULL DEFAULT '',
  472. );
  473. load table users from '.\\_mwdata_.dat';
  474.  
  475. alter table users add personaldir char(81) default '';
  476. update users set personaldir = '';
  477. alter table users modify personaldir not null;
  478.  
  479. CREATE INDEX UsersIDX on Users (Alias, FName, LName);
  480.  
  481. drop table user_dirs;
  482. drop table events;
  483.  
  484. create table SystemInformation(
  485.   UnitID     integer PRIMARY KEY DEFAULT AUTOINCREMENT NOT NULL,
  486.   KeyWord    char(41) NOT NULL DEFAULT '',
  487.   Value      char(81) NOT NULL DEFAULT ''
  488. );
  489.  
  490. Insert into SystemInformation (KeyWord,Value) values ('UserTimeOut','5');
  491. Insert into SystemInformation (KeyWord,Value) values ('PCBDatFile','.\\pcboard.dat');
  492.  
  493. delete from mimetypes;
  494.  
  495. //************************************************************************************************
  496. // added 12-14-96  // Mime Types for HTML pages.
  497.  
  498. insert into MimeTypes (Extension,Description) values ('shtml','text/x-server-parsed-html');
  499. insert into MimeTypes (Extension,Description) values ('shtm','text/x-server-parsed-html');
  500. insert into MimeTypes (Extension,Description) values ('sht','text/x-server-parsed-html');
  501. insert into MimeTypes (Extension,Description) values ('htp','text/x-server-parsed-html');
  502. insert into MimeTypes (Extension,Description) values ('smh','text/x-server-parsed-html');
  503. insert into MimeTypes (Extension,Description) values ('sma','text/x-server-parsed-html');
  504. insert into MimeTypes (Extension,Description) values ('ans','text/x-server-parsed-html');
  505. insert into MimeTypes (Extension,Description) values ('pcb','text/x-server-parsed-html');
  506. insert into MimeTypes (Extension,Description) values ('gif','image/gif');
  507. insert into MimeTypes (Extension,Description) values ('jpg','image/jpeg');
  508. insert into MimeTypes (Extension,Description) values ('jpeg','image/jpeg');
  509. insert into MimeTypes (Extension,Description) values ('bmp','image/x-bmp');
  510. insert into MimeTypes (Extension,Description) values ('htm','text/html');
  511. insert into MimeTypes (Extension,Description) values ('html','text/html');
  512. insert into MimeTypes (Extension,Description) values ('url','wwwserver/redirection');
  513. insert into MimeTypes (Extension,Description) values ('wav','audio/x-wav');
  514. insert into MimeTypes (Extension,Description) values ('mid','audio/midi');
  515. insert into MimeTypes (Extension,Description) values ('avi','video/avi');
  516. insert into MimeTypes (Extension,Description) values ('mov','video/quicktime');
  517. insert into MimeTypes (Extension,Description) values ('vox','audio/voxware');
  518. insert into MimeTypes (Extension,Description) values ('wri','application/mswrite');
  519. insert into MimeTypes (Extension,Description) values ('wrl','x-world/x-vrml');
  520. insert into MimeTypes (Extension,Description) values ('zip','application/zip');
  521. insert into MimeTypes (Extension,Description) values ('tif','image/tiff');
  522. insert into MimeTypes (Extension,Description) values ('tiff','image/tiff');
  523. insert into MimeTypes (Extension,Description) values ('txt','text/plain');
  524. insert into MimeTypes (Extension,Description) values ('vos','video/vosaic');
  525. insert into MimeTypes (Extension,Description) values ('ram','application/x-pn-realaudio');
  526. insert into MimeTypes (Extension,Description) values ('rc','text/plain');
  527. insert into MimeTypes (Extension,Description) values ('rtf','application/rtf');
  528. insert into MimeTypes (Extension,Description) values ('rtx','text/richtext');
  529. insert into MimeTypes (Extension,Description) values ('snd','audio/basic');
  530. insert into MimeTypes (Extension,Description) values ('mpeg','video/mpeg');
  531. insert into MimeTypes (Extension,Description) values ('mpg','video/mpeg');
  532. insert into MimeTypes (Extension,Description) values ('pdf','application/pdf');
  533. insert into MimeTypes (Extension,Description) values ('ps','application/postscript');
  534. insert into MimeTypes (Extension,Description) values ('qt','video/quicktime');
  535. insert into MimeTypes (Extension,Description) values ('ra','application/x-pn-realaudio');
  536. insert into MimeTypes (Extension,Description) values ('ls','application/x-javascript');
  537. insert into MimeTypes (Extension,Description) values ('lzh','application/x-lzh');
  538. insert into MimeTypes (Extension,Description) values ('map','wwwserver/imagemap');
  539. insert into MimeTypes (Extension,Description) values ('mocha','application/x-javascript');
  540. insert into MimeTypes (Extension,Description) values ('mpe','video/mpeg');
  541. insert into MimeTypes (Extension,Description) values ('ini','text/plain');
  542. insert into MimeTypes (Extension,Description) values ('java','text/x-java-source');
  543. insert into MimeTypes (Extension,Description) values ('js','application/x-javascript');
  544. insert into MimeTypes (Extension,Description) values ('exe','application/octet-stream');
  545. insert into MimeTypes (Extension,Description) values ('gz','application/x-gzip');
  546. insert into MimeTypes (Extension,Description) values ('h','text/plain');
  547. insert into MimeTypes (Extension,Description) values ('hlp','application/x-winhelp');
  548. insert into MimeTypes (Extension,Description) values ('class','application/x-java-class');
  549. insert into MimeTypes (Extension,Description) values ('cpp','text/plain');
  550. insert into MimeTypes (Extension,Description) values ('doc','application/msword');
  551. insert into MimeTypes (Extension,Description) values ('arj','application/x-arj');
  552. insert into MimeTypes (Extension,Description) values ('au','audio/basic');
  553. insert into MimeTypes (Extension,Description) values ('bin','application/octet-stream');
  554. insert into MimeTypes (Extension,Description) values ('c','text/plain');
  555.  
  556. commit work;
  557.  
  558.