Created
April 23, 2019 21:36
-
-
Save renerdias/ed8c2a2875c69137046fbcbab229fba3 to your computer and use it in GitHub Desktop.
Cria tabela de auditoria para todas as tabelas em public
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
tablename, | |
auditoria.func_criar_tabela_auditoria(tablename, false) | |
from | |
pg_tables | |
where | |
schemaname = 'public' | |
order by | |
tablena |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment