diff --git a/db/db.code.version.txt b/db/db.code.version.txt index 4b9026d8..900731ff 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -63 +64 diff --git a/db/db.update.64.sql b/db/db.update.64.sql new file mode 100644 index 00000000..62810bf8 --- /dev/null +++ b/db/db.update.64.sql @@ -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; + +