Skip to content

Instantly share code, notes, and snippets.

@rsimon
Last active August 29, 2015 14:02
Show Gist options
  • Save rsimon/411cffc81edbd9a3604e to your computer and use it in GitHub Desktop.
Save rsimon/411cffc81edbd9a3604e to your computer and use it in GitHub Desktop.
Adding columns to a Postgres table
sudo -u postgres psql recogito
ALTER TABLE gdocuments ADD COLUMN geo_origin character varying(254);
ALTER TABLE gdocuments ADD COLUMN geo_findspot character varying(254);
ALTER TABLE gdocuments ADD COLUMN geo_author_location character varying(254);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment