94 subject text not null, |
94 subject text not null, |
95 description text, |
95 description text, |
96 assignee integer references lpit_user (userid), |
96 assignee integer references lpit_user (userid), |
97 created timestamp with time zone not null default now(), |
97 created timestamp with time zone not null default now(), |
98 updated timestamp with time zone not null default now(), |
98 updated timestamp with time zone not null default now(), |
99 eta date |
99 eta date, |
100 ); |
100 affected integer references lpit_version (versionid), |
101 |
101 resolved integer references lpit_version (versionid) |
102 create table lpit_issue_affected_version |
|
103 ( |
|
104 issueid integer references lpit_issue (issueid), |
|
105 versionid integer references lpit_version (versionid), |
|
106 primary key (issueid, versionid) |
|
107 ); |
|
108 |
|
109 create table lpit_issue_resolved_version |
|
110 ( |
|
111 issueid integer references lpit_issue (issueid), |
|
112 versionid integer references lpit_version (versionid), |
|
113 primary key (issueid, versionid) |
|
114 ); |
102 ); |
115 |
103 |
116 create table lpit_issue_comment |
104 create table lpit_issue_comment |
117 ( |
105 ( |
118 commentid serial primary key, |
106 commentid serial primary key, |