Fix #5661 - MTrack - daily email large and no branch
[Pman.MTrack] / DataObjects / mtrack.sql
1 -- this stuff is not used anymore...
2
3
4  
5
6
7 -- Table structure for table components_by_project
8 -- ?? not used?
9 CREATE TABLE mtrack_project_reference (
10    id int(11) NOT NULL AUTO_INCREMENT,
11    project_id  int(11) NOT NULL,
12    enum_id int(11) NOT NULL,
13    PRIMARY KEY (id)
14 ) ;
15  
16
17   
18
19
20 -- reports??? - may change quite a bit later?
21 -- change/update etc are references to mtrack_changes
22 -- not used?
23 CREATE TABLE mtrack_report (
24   id int(11) NOT NULL AUTO_INCREMENT,
25   summary varchar(128) NOT NULL,
26   description text NOT NULL,
27   query text,
28   changed int(11) NOT NULL,
29   PRIMARY KEY (id)
30 ) ;
31
32 -- Table structure for table repos
33
34
35 -- not used?
36 CREATE TABLE mtrack_snippet (
37   id int(11) NOT NULL AUTO_INCREMENT,
38   created int(11) NOT NULL DEFAULT 0,
39   updated int(11) NOT NULL,
40   description text,
41   lang varchar(32) NOT NULL,
42   snippet longtext,
43   PRIMARY KEY (id)
44 ) ;
45
46 -- Table structure for table ticket_changeset_hashes
47
48 -- CREATE TABLE ticket_changeset_hashes (
49 -- tid char(32) NOT NULL,
50 --  hash varchar(128) NOT NULL DEFAULT '',
51 --  PRIMARY KEY (tid,hash)
52 --) ;
53
54 -- Table structure for table ticket_components
55 -- not used
56 CREATE TABLE mtrack_ticket_reference (
57    id int(11) NOT NULL AUTO_INCREMENT,
58    ticket_id  int(11) NOT NULL,
59    enum_id int(11) NOT NULL,
60    PRIMARY KEY (id)
61 ) ;
62
63  
64
65 -- not used?
66  CREATE TABLE mtrack_desktop_activity (
67   id int(11)  NOT NULL AUTO_INCREMENT,
68   cmd_id int(11)  NOT NULL,
69   title_id int(11)  NOT NULL,
70   start_dt datetime  NOT NULL,
71   end_dt datetime  NOT NULL,
72   person_id int(11)  NOT NULL,
73   PRIMARY KEY (id),
74   INDEX lookup(person_id, start_dt, end_dt)
75 ) ;
76
77 CREATE TABLE  mtrack_desktop_cmd (
78   id int(11)  NOT NULL AUTO_INCREMENT,
79   name varchar(255)  NOT NULL,
80   PRIMARY KEY (id),
81   INDEX lookup(name)
82 ) ;
83
84
85