<?php
/*
* buzzword
* Copyright (c) 2003 Jon Tai
*
* $Id: schema.inc 267 2004-03-31 03:14:55Z bradt $
*
* This file is part of buzzword.
*
* buzzword is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* buzzword is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with buzzword; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
mysql_query(
"CREATE TABLE `".DB_PREFIX."relevance_cache` (".
" `object_name` varchar(64) NOT NULL default '',".
" `object_key` int(10) unsigned NOT NULL default '0',".
" `relevance_keyword` varchar(128) NOT NULL default '',".
" `relevance_score` int(10) unsigned NOT NULL default '0',".
" KEY `object_name` (`object_name`),".
" KEY `relevance_keyword` (`relevance_keyword`)".
") TYPE=MyISAM;"
);
mysql_query(
"CREATE TABLE `".DB_PREFIX."preferences` (".
" `preference_key` int(10) unsigned NOT NULL default '0',".
" `name` varchar(255) NOT NULL default '',".
" `type` char(1) NOT NULL default '',".
" `value` varchar(255) NOT NULL default '',".
" PRIMARY KEY (`preference_key`),".
" KEY `preference_name` (`name`)".
") TYPE=MyISAM;"
);
?>