Created
February 20, 2017 06:41
-
-
Save zedtux/a3e4d00e1bc522f89c8ccb69f34a450c to your computer and use it in GitHub Desktop.
Docker command to execute psql and add the primary key to the institutions table
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
docker exec legalannouncements_database_1 psql --username=appuser --dbname=my_awesome_development psql -c 'ALTER TABLE institutions ADD PRIMARY KEY (id)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment