| | @@ -45,11 +45,11 @@ |
| 45 | 45 | ** we have to execute special procedures to update the schema. When |
| 46 | 46 | ** the aux schema changes, all we need to do is rebuild the database. |
| 47 | 47 | */ |
| 48 | 48 | #define CONTENT_SCHEMA "2" |
| 49 | 49 | #define AUX_SCHEMA_MIN "2011-04-25 19:50" |
| 50 | | -#define AUX_SCHEMA_MAX "2015-01-24" |
| 50 | +#define AUX_SCHEMA_MAX "2017-01-10" |
| 51 | 51 | /* NB: Some features require the latest schema. Warning or error messages |
| 52 | 52 | ** will appear if an older schema is used. However, the older schemas are |
| 53 | 53 | ** adequate for many common functions. */ |
| 54 | 54 | |
| 55 | 55 | #endif /* INTERFACE */ |
| | @@ -453,11 +453,21 @@ |
| 453 | 453 | @ username TEXT, |
| 454 | 454 | @ mimetype TEXT, |
| 455 | 455 | @ icomment TEXT |
| 456 | 456 | @ ); |
| 457 | 457 | @ CREATE INDEX ticketchng_idx1 ON ticketchng(tkt_id, tkt_mtime); |
| 458 | +@ |
| 459 | +@ -- Each remark artifact makes a single entry in the Remark table. |
| 460 | +@ CREATE TABLE remark( |
| 461 | +@ rid INTEGER PRIMARY KEY, -- The Remark artifact in the BLOB table |
| 462 | +@ ctime TIMESTAMP, -- Creation date. Julian day. |
| 463 | +@ target TEXT, -- UUID for check-in or name of branch |
| 464 | +@ uid TEXT -- Name of user who entered this remark |
| 465 | +@ ); |
| 466 | +@ CREATE INDEX remarkidx1 ON remark(target,ctime); |
| 458 | 467 | ; |
| 468 | + |
| 459 | 469 | |
| 460 | 470 | /* |
| 461 | 471 | ** Predefined tagid values |
| 462 | 472 | */ |
| 463 | 473 | #if INTERFACE |
| 464 | 474 | |