Skip to content

Instantly share code, notes, and snippets.

@asierrayk
Created January 18, 2018 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asierrayk/13a2e6d1761f0f53326e4decb022f5a4 to your computer and use it in GitHub Desktop.
Save asierrayk/13a2e6d1761f0f53326e4decb022f5a4 to your computer and use it in GitHub Desktop.
PostgreSQL list tables (django)
SELECT table_schema, table_name
FROM information_schema.tables
WHERE table_schema='public';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment