Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

Documentation for visiting database #176

Open
gemfarmer opened this issue May 10, 2016 · 0 comments
Open

Documentation for visiting database #176

gemfarmer opened this issue May 10, 2016 · 0 comments

Comments

@gemfarmer
Copy link
Contributor

gemfarmer commented May 10, 2016

There should be documentation for visiting the database

  • via command line using cf-ssh
  • cloud.gov postgres client
    • the easiest way to do this is to login into cloud foundry: cf login, run cf env dolores-app and use the uri attribute produced there as the "Scheme" in https://pgweb.apps.cloud.gov/
    • add employees using this query template
      • INSERT INTO employees (id,created_at, updated_at, slack_username, started_on, time_zone, deleted_at, slack_channel_id) VALUES ([id], '2015-5-9T21:32:43.109879Z', '2015-5-9T21:32:43.109879Z', '[slack username]', '2015-05-02T00:00:00Z', 'Pacific Time (US & Canada)', NULL, NULL);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant