Dev add support id
Test Workflow / test (push) Successful in 4s

This commit is contained in:
vladp
2026-01-20 21:55:42 +07:00
parent f0a87648cf
commit 60678ef889
5 changed files with 18 additions and 48 deletions
+10
View File
@@ -66,3 +66,13 @@ GRANT ALL ON SEQUENCES TO ncp_db;
Зайти в контейнер:
docker exec -it {name} bash
------
Создать для сущности FileEntity sequence для икремента индетификатора
CREATE SEQUENCE IF NOT EXISTS file_support_id_seq START 1;
ALTER TABLE file_entities
ALTER COLUMN support_id
SET DEFAULT nextval('file_support_id_seq');