feat: #6382 chekCodeFormat #2351

Merged
jgallego merged 6 commits from 6382-regularizar-Shelving-Parking into dev 2024-05-06 07:46:10 +00:00
Owner
No description provided.
jgallego added 1 commit 2024-04-23 06:01:27 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
eaf2762922
feat: #6382 chekCodeFormat
jgallego requested review from guillermo 2024-04-23 06:01:51 +00:00
guillermo requested changes 2024-04-23 06:03:36 +00:00
Dismissed
@ -0,0 +1,4 @@
ALTER TABLE vn.parking
ADD CONSTRAINT chkParkingCodeFormat CHECK (CHAR_LENGTH(code) > 4 AND code LIKE '%-%');
Member

Gasta millor LENGTH()

Gasta millor LENGTH()
Author
Owner

perque?
Si se espera que code contenga caracteres que podrían ser multibyte y solo importa el conteo de caracteres visibles, se debería preferir CHAR_LENGTH. Por otro lado, si se quiere asegurar una restricción basada en el tamaño en bytes de la cadena, entonces se debería usar LENGTH

perque? Si se espera que code contenga caracteres que podrían ser multibyte y solo importa el conteo de caracteres visibles, se debería preferir CHAR_LENGTH. Por otro lado, si se quiere asegurar una restricción basada en el tamaño en bytes de la cadena, entonces se debería usar LENGTH
guillermo marked this conversation as resolved
guillermo approved these changes 2024-04-25 05:08:15 +00:00
jgallego added 1 commit 2024-04-25 07:14:01 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
1b34822fb7
Merge branch 'dev' into 6382-regularizar-Shelving-Parking
jgallego added 2 commits 2024-04-25 12:29:01 +00:00
jgallego requested review from sergiodt 2024-04-25 12:30:57 +00:00
jgallego added 1 commit 2024-04-25 12:31:08 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
2e2bc3d594
Merge branch 'dev' into 6382-regularizar-Shelving-Parking
jgallego added 1 commit 2024-05-06 07:42:42 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
633a3c481c
Merge branch 'dev' into 6382-regularizar-Shelving-Parking
jgallego merged commit faa4496d81 into dev 2024-05-06 07:46:10 +00:00
jgallego deleted branch 6382-regularizar-Shelving-Parking 2024-05-06 07:46:10 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#2351
No description provided.