DROP SCHEMA public CASCADE;
CREATE SCHEMA public;
GRANT ALL ON SCHEMA public TO postgres;
GRANT ALL ON SCHEMA public TO public;
[링크 : https://stackoverflow.com/questions/3327312/how-can-i-drop-all-the-tables-in-a-postgresql-database]
'프로그램 사용 > postgreSQL' 카테고리의 다른 글
| postgresql schema (0) | 2019.06.12 | 
|---|---|
| postgres db 속도 향상 (0) | 2019.06.07 | 
| postgresql import from csv (0) | 2019.06.04 | 
| postgresql password chg (0) | 2019.06.04 | 
| postgresql 계정은 있는데 로그인 안될때 (0) | 2019.03.20 | 






