Last active
December 17, 2015 10:49
-
-
Save sionc/5597622 to your computer and use it in GitHub Desktop.
Basic postgresql commands
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
Creating an rails app with Postgres | |
$ rails new app --database=postgresql | |
Creating a user | |
$ createuser rails_dev | |
Creating a database | |
$ createdb -Orails_dev -Eunicode sager_app_development |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment