From e314ef84e1180c1172059de40b48170f74f5549a Mon Sep 17 00:00:00 2001 From: Tony Lambregts Date: Wed, 13 Jul 2005 01:11:56 +0000 Subject: [PATCH] SQL to create buglinks table --- tables/buglinks.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tables/buglinks.sql diff --git a/tables/buglinks.sql b/tables/buglinks.sql new file mode 100644 index 0000000..a5741b9 --- /dev/null +++ b/tables/buglinks.sql @@ -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) +);