SQL to create buglinks table

This commit is contained in:
Tony Lambregts
2005-07-13 01:11:56 +00:00
committed by WineHQ
parent 8cd65e7bdf
commit e314ef84e1

18
tables/buglinks.sql Normal file
View File

@@ -0,0 +1,18 @@
use apidb;
drop table if exists buglinks;
/*
* link a bug to a version of an application
*/
create table buglinks (
linkId int not null auto_increment,
bug_id int not null,
versionId int not null,
submitTime timestamp(14) NOT NULL,
submitterId int(11) NOT NULL default '0',
queued enum('true','false') NOT NULL default 'false',
key(linkId),
index(bug_id),
index(versionId)
);