-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed all mentions of vagrant; DB user is now
postgres
- Loading branch information
Showing
17 changed files
with
9 additions
and
524 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,3 @@ | |
/config/database.yml | ||
|
||
coverage/ | ||
|
||
.vagrant | ||
vagrant/ansible/*.retry |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
#!/bin/sh | ||
|
||
# If no PG user vagrant exists: | ||
# This script assumes the existence of a PG user named `postgres` | ||
|
||
# create user vagrant; | ||
# alter user vagrant createdb; | ||
|
||
psql postgres vagrant -c 'drop database sessionizer_development;' | ||
PGUSER=vagrant heroku pg:pull DATABASE sessionizer_development --app sessionizer2016 | ||
psql sessionizer_development vagrant -c 'grant all on all tables in schema public to vagrant;' | ||
psql postgres postgres -c 'drop database sessionizer_development;' | ||
PGUSER=postgres heroku pg:pull DATABASE sessionizer_development --app sessionizer2016 |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.