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

Add alembic #804

Merged
merged 70 commits into from
Nov 2, 2020
Merged

Add alembic #804

merged 70 commits into from
Nov 2, 2020

Conversation

mattyweb
Copy link
Collaborator

@mattyweb mattyweb commented Sep 9, 2020

(Branched from 'api-new-version')

First version of alembic.

Adds tables for:

  • councils
  • regions
  • request_types

Seeds them with values.

Add materialized view for:

  • service_requests

Will also seed requests table in database if TESTING env is set

To see sample database run:

TESTING=True alembic upgrade head

@mattyweb
Copy link
Collaborator Author

finally got everything working...
major changes include not deleting the database after the unit tests and setting up the database unit tests a little differently
had to fix some cypress issues with some selectors not working and a formatting issue on the clusters

@jmensch1 jmensch1 merged commit 46cd64a into dev Nov 2, 2020
@jmensch1 jmensch1 deleted the add-alembic branch November 2, 2020 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants