Last active
August 3, 2022 20:21
-
-
Save khaliqgant/fbb7d6f9932bf5157d9641384c81cf5e to your computer and use it in GitHub Desktop.
[Postgres Drop Database] Drop live database and create public schema #postgres #database
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
# with auth | |
> psql -h 10.000.0.0 -d mydb -U myuser | |
> psql postgres postgres | |
drop schema public cascade; | |
create schema public; | |
\q and enter to exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment