Changes between Version 23 and Version 24 of TracTicketsCustomFields
- Timestamp:
- Apr 7, 2008, 1:37:39 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracTicketsCustomFields
v23 v24 125 125 }}} 126 126 127 If you added multiple custom fields at different points in time, you should be more specific in the subquery on table {{{ticket}}} by adding the exact custom field name to the query: 128 129 {{{ 130 #!sql 131 INSERT INTO ticket_custom 132 (ticket, name, value) 133 SELECT 134 id AS ticket, 135 'request_source' AS name, 136 'None' AS value 137 FROM ticket 138 WHERE id NOT IN ( 139 SELECT ticket FROM ticket_custom WHERE name = 'request_source' 140 ); 141 }}} 142 127 143 ---- 128 144 See also: TracTickets, TracIni