fix: refs #8174 pasar a char el PIN #3312

Merged
jbreso merged 8 commits from 8174-hotfix into dev 2024-12-16 12:59:31 +00:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 7232bfb7a6 - Show all commits

View File

@ -2,7 +2,7 @@ CREATE TABLE IF NOT EXISTS `vn`.`sim` (
`code` VARCHAR(25) COMMENT 'No se ha puesto BIGINT por incompatibilidad con Access',
`line` VARCHAR(15) NOT NULL CHECK (`line` REGEXP '^[0-9]+$'),
`ext` INT(4) NOT NULL,
`pin` INT(4) NOT NULL,
`pin` INT(4) NOT NULL (`pin` REGEXP '^[0-9]+$')
`puk` INT(15) NOT NULL,
PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

View File

@ -1 +0,0 @@
ALTER TABLE vn.sim MODIFY COLUMN pin char(4) NOT NULL CHECK (`pin` REGEXP '^[0-9]+$');