Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

2275 - Add a database migration for the survey response #2289

Merged
merged 3 commits into from
Jul 11, 2019

Conversation

petereast
Copy link
Contributor

Background

What does this PR do?
Closes #2275

Any relevant tickets

Please use the phrase 'Closes' if it will fully complete the ticket.

How has this been tested?

Reviewers ensure that these test requirements are also reviewed.

Please indicate the need for this change to be tested. If not please justify, if so then at what levels.

  • Unit / Integration tests
  • Browser tests
  • End2end tests

UI Changes

  • Has been reviewed against Designs
  • Necessary updates to styleguide

@Cooryd Cooryd changed the title [WIP] Add a database migration for the survey response 2275 - Add a database migration for the survey response Jul 11, 2019
@petereast
Copy link
Contributor Author

Is this all we need to do for this PR? #2275 (comment)

@Cooryd
Copy link
Contributor

Cooryd commented Jul 11, 2019

#2292 has been raised for the ORM class to be created so this PR adding the migration should be enough

@petereast
Copy link
Contributor Author

cool 👍

@erezmus erezmus merged commit c4f8fac into develop Jul 11, 2019
survey_id UUID NOT NULL,
submission_id UUID NOT NULL,
response JSONB NOT NULL,
created TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT current_timestamp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this has been added so we can use the ORM ... where is the updated field?

@erezmus erezmus deleted the 2275-create-survey-response-migration branch October 17, 2019 13:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create database migration
5 participants