Primeiro commit do projeto
davinTI/app-dono-modulos/pipeline/head There was a failure building this commit

This commit is contained in:
2026-04-22 15:17:14 -03:00
parent 137ebdece2
commit 9f6201f0af
14 changed files with 756 additions and 0 deletions
@@ -0,0 +1,16 @@
-- +goose Up
DECLARE
v_count NUMBER;
BEGIN
SELECT COUNT(*) INTO v_count
FROM USER_INDEXES
WHERE INDEX_NAME = 'IDX_FLASH_VENDAS_01';
IF v_count = 0 THEN
EXECUTE IMMEDIATE 'CREATE INDEX IDX_FLASH_VENDAS_01
ON TB_FLASH_VENDAS (NUMERO_LOJA, DATA_VENDA)';
END IF;
END;
-- +goose Down
SELECT 'down SQL query';