BUG 11510 Números de casos duplicados SOLVED

- Al parecer existe un problema de concurrencia al crear los casos en processmaker, de tal forma que si se intenta crear 2 casos al mismo tiempo el número del caso termina siendo el mismo para ambos casos.
- Added sequences table for control of the applications.
This commit is contained in:
Hector Cortez
2013-05-23 18:23:59 -04:00
parent 1723ba968e
commit 1d3c341f9c
8 changed files with 1520 additions and 8 deletions

View File

@@ -1442,5 +1442,18 @@ CREATE TABLE `APP_SOLR_QUEUE`
`APP_UPDATED` TINYINT default 1 NOT NULL,
PRIMARY KEY (`APP_UID`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='APP_SOLR_QUEUE';
#-----------------------------------------------------------------------------
#-- SEQUENCES
#-----------------------------------------------------------------------------
DROP TABLE IF EXISTS `SEQUENCES`;
CREATE TABLE `SEQUENCES`
(
`SEQ_NAME` VARCHAR(50) default '' NOT NULL,
`SEQ_VALUE` INTEGER default 0 NOT NULL,
PRIMARY KEY (`SEQ_NAME`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Sequences, Controls the numerical sequence of a table';
# This restores the fkey checks, after having unset them earlier
SET FOREIGN_KEY_CHECKS = 1;