🚀 Initial commit: Versão atual do TrackSteel APP

This commit is contained in:
2026-03-18 21:17:53 +00:00
commit bde410c9ad
633 changed files with 108150 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
-- Adicionar política RLS para permitir DELETE na tabela movimentacoes_estoque
CREATE POLICY "Usuários autenticados podem excluir movimentações"
ON public.movimentacoes_estoque
FOR DELETE
TO authenticated
USING (auth.uid() IS NOT NULL);
-- Adicionar política RLS para permitir UPDATE na tabela movimentacoes_estoque (caso seja necessário no futuro)
CREATE POLICY "Usuários autenticados podem atualizar movimentações"
ON public.movimentacoes_estoque
FOR UPDATE
TO authenticated
USING (auth.uid() IS NOT NULL)
WITH CHECK (auth.uid() IS NOT NULL);