forked from science-ation/science-ation
- 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:
parent
edcf42443c
commit
311d9475dc
@ -1 +1 @@
|
|||||||
63
|
64
|
||||||
|
5
db/db.update.64.sql
Normal file
5
db/db.update.64.sql
Normal 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;
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user