Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to drop all tables in postgresql

DROP SCHEMA public CASCADE;
CREATE SCHEMA public;

GRANT ALL ON SCHEMA public TO postgres;
GRANT ALL ON SCHEMA public TO public;
Source by makandracards.com #
 
PREVIOUS NEXT
Tagged: #drop #tables #postgresql
ADD COMMENT
Topic
Name
4+8 =