Created
July 26, 2012 21:22
-
-
Save spara/3184617 to your computer and use it in GitHub Desktop.
create 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
# connect to postgres | |
psql -h localhost | |
# create database | |
CREATE DATABASE mydatabase; | |
# switch to your database | |
\connect mydatabase | |
# add postgis extension | |
CREATE EXTENSION postgis; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment