- Add a system_report_id field to the reports, and set it to the reports.id

for ids <= 34 (all the reports the system inserts by default)
This commit is contained in:
dave 2007-11-21 21:21:10 +00:00
parent edcf42443c
commit 311d9475dc
2 changed files with 6 additions and 1 deletions

View File

@ -1 +1 @@
63
64

5
db/db.update.64.sql Normal file
View File

@ -0,0 +1,5 @@
ALTER TABLE `reports` ADD `system_report_id` INT NOT NULL AFTER `id` ;
UPDATE reports SET system_report_id = id WHERE id <=34;