diff --git a/database/3.0.2_to_3.1.0.sql b/database/3.0.2_to_3.1.0.sql index d2f22a93c..feab9fe79 100644 --- a/database/3.0.2_to_3.1.0.sql +++ b/database/3.0.2_to_3.1.0.sql @@ -240,3 +240,6 @@ INSERT INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES INSERT INTO `ospos_grants` (`permission_id`, `person_id`) VALUES ('migrate', 1); +-- update to receivings + +UPDATE ospos_items SET receiving_quantity = 1 WHERE receiving_quantity = 0; diff --git a/database/receiving.sql b/database/receiving.sql deleted file mode 100644 index 2925e055d..000000000 --- a/database/receiving.sql +++ /dev/null @@ -1 +0,0 @@ -UPDATE ospos_items SET receiving_quantity = 1 WHERE receiving_quantity = 0; \ No newline at end of file