oubo 5 ani în urmă
părinte
comite
9b5e86ba06
2 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 1 0
      data/sql/structure.sql
  2. 3 0
      data/upgrade/v3.0.0/v3.0.0.sql

+ 1 - 0
data/sql/structure.sql

@@ -1912,6 +1912,7 @@ CREATE TABLE `t_fast_input` (
   `utime` datetime DEFAULT NULL,
   `company_id` int(11) DEFAULT NULL,
   `user_id` int(11) DEFAULT NULL,
+  `status` int(2) NULL DEFAULT 99,
   PRIMARY KEY (`fast_input_id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
 

+ 3 - 0
data/upgrade/v3.0.0/v3.0.0.sql

@@ -664,4 +664,7 @@ REPLACE INTO `t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `c
 ALTER TABLE `t_process_out_calculation`
 ADD COLUMN IF NOT EXISTS `out_storehouse_weight` decimal(22,2) NOT NULL AFTER `out_storehouse_quantity`;
 
+ALTER TABLE `t_fast_input`
+ADD COLUMN IF NOT EXISTS `status` int(2) NULL DEFAULT 99 AFTER `user_id`;
+
 SET FOREIGN_KEY_CHECKS=1;