| 32 | |
| 33 | == Changing Report Numbering == |
| 34 | There may be instances where you need to change the ID of the report, perhaps to organize the reports better. At present this requires changes to the trac database. The ''report'' table has the following schema (as of 0.10): |
| 35 | * id integer PRIMARY KEY |
| 36 | * author text |
| 37 | * title text |
| 38 | * query text |
| 39 | * description text |
| 40 | Changing the ID changes the shown order and number in the ''View Reports'' list. This is done by running something like: |
| 41 | {{{ |
| 42 | update report set id=5 where id=3; |
| 43 | }}} |
| 44 | Keep in mind that the integrity has to be maintained (i.e., ID has to be unique, and you don't want to exceed the max, since that's managed by SQLite someplace). |