Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes Patrick S from users, fixes prod migrations script #1972

Merged
merged 2 commits into from Apr 5, 2019

Conversation

2 participants
@stangah
Copy link
Contributor

stangah commented Apr 5, 2019

Removes me from office_users and tsp_users, then sets disabled=true and is_superuser=false on users for my Truss email address. Adieu

-- This will be run on development environments. It should mirror what you
-- intend to apply on production, but do not include any sensitive data.

-- No op, I'm staying in your local machines forver

This comment has been minimized.

Copy link
@chrisgilmerproj
@chrisgilmerproj

This comment has been minimized.

Copy link
Contributor

chrisgilmerproj commented Apr 5, 2019

As a record, here's what the migration looked like in prod:

  -- Production Migration!
  -- This will be distributed to all deployed environments (e.g. staging, prod)

  DELETE FROM office_users where email='XXXXX@truss.works';
  DELETE FROM tsp_users where email='XXXXX@truss.works';

  UPDATE users SET disabled=true, is_superuser=false WHERE login_gov_email='XXXXX@truss.works';
@chrisgilmerproj
Copy link
Contributor

chrisgilmerproj left a comment

😢 - sad to see you go. Good PR though!

@chrisgilmerproj chrisgilmerproj merged commit 70a84d8 into master Apr 5, 2019

19 checks passed

Codacy/PR Quality Review Up to standards. A positive pull request.
Details
ci/circleci: acceptance_tests_experimental Your tests passed on CircleCI!
Details
ci/circleci: acceptance_tests_local Your tests passed on CircleCI!
Details
ci/circleci: acceptance_tests_staging Your tests passed on CircleCI!
Details
ci/circleci: build_app Your tests passed on CircleCI!
Details
ci/circleci: build_migrations Your tests passed on CircleCI!
Details
ci/circleci: build_tools Your tests passed on CircleCI!
Details
ci/circleci: client_test Your tests passed on CircleCI!
Details
ci/circleci: integration_tests_api Your tests passed on CircleCI!
Details
ci/circleci: integration_tests_mymove Your tests passed on CircleCI!
Details
ci/circleci: integration_tests_office Your tests passed on CircleCI!
Details
ci/circleci: integration_tests_tsp Your tests passed on CircleCI!
Details
ci/circleci: pre_deps_golang Your tests passed on CircleCI!
Details
ci/circleci: pre_deps_yarn Your tests passed on CircleCI!
Details
ci/circleci: pre_test Your tests passed on CircleCI!
Details
ci/circleci: server_test Your tests passed on CircleCI!
Details
ci/circleci: server_test_coverage Your tests passed on CircleCI!
Details
codecov/patch Coverage not affected when comparing 0bf0ad7...89fc6b1
Details
codecov/project/go 60.51% remains the same compared to 0bf0ad7
Details

@chrisgilmerproj chrisgilmerproj deleted the ps-seppuku branch Apr 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.