Last active
April 23, 2018 15:25
-
-
Save cklanac/5d10c8158f78f278ed42b187b86c31d2 to your computer and use it in GitHub Desktop.
Drop, Create and Import
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
~ $ dropdb dev-restaurants-app | |
~ $ createdb -U dev dev-restaurants-app | |
~ $ psql -U dev -f ~/Desktop/nyc-restaurants-data-backup.mssql -d dev-restaurants-app | |
~ $ psql -U dev -d dev-restaurants-app < ~/Desktop/temp.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment