SQL to create buglinks table
This commit is contained in:
18
tables/buglinks.sql
Normal file
18
tables/buglinks.sql
Normal 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)
|
||||||
|
);
|
||||||
Reference in New Issue
Block a user