Created
February 8, 2017 10:40
-
-
Save kasymovga/5986402c10482af0c0eb6318945de4ed to your computer and use it in GitHub Desktop.
how to clear postgresql database
This file contains 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
DROP SCHEMA public CASCADE; | |
CREATE SCHEMA public; | |
GRANT ALL ON SCHEMA public TO postgres; | |
GRANT ALL ON SCHEMA public TO public; | |
COMMENT ON SCHEMA public IS 'standard public schema'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment