bugzilla%micropipes.com 52fef9465d Replaced the old application version code, so there is a table now that displays all
the compatible versions.


git-svn-id: svn://10.0.0.236/trunk@191793 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-05 06:35:34 +00:00

28 lines
1.0 KiB
SQL

-- SQL specific to v2 needed for migration of v1 production database
-- --------------------------------------------------------
--
-- Table structure for table `session_data`
--
DROP TABLE IF EXISTS `session_data`;
CREATE TABLE `session_data` (
`sess_id` varchar(255) NOT NULL default '',
`sess_user_id` int(11) NOT NULL default '0',
`sess_expires` int(11) unsigned NOT NULL default '0',
`sess_data` text,
PRIMARY KEY (`sess_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
ALTER TABLE `feedback` ADD `UserID` INT( 11 ) AFTER `ID`;
ALTER TABLE `feedback` ADD INDEX ( `UserID` );
ALTER TABLE `feedback` ADD CONSTRAINT `feedback_ibfk_2` FOREIGN KEY (`UserID`) REFERENCES `userprofiles` (`UserID`) ON DELETE CASCADE ON UPDATE CASCADE;
-- If you want the app to show up on the "supported applications" table for the
-- extension this has to be '1'
ALTER TABLE `applications` ADD `supported` TINYINT( 1 ) DEFAULT '0' NOT NULL ;
-- Set the "supported" applications:
UPDATE `applications` SET `supported`=1 WHERE `AppName` IN('Firefox','Thunderbird','Mozilla');