Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

fix(scripts): ensure dependent flow_metadata columns are set sanely #53

Merged
merged 1 commit into from
Feb 24, 2017

Conversation

philbooth
Copy link
Contributor

Fixes #51.

This needs to be accompanied with an equivalent update to the existing flow_metadata to properly fix the issue. That could be done with a bespoke standalone query or we could just drop the data and reimport it using these changes over the weekend. The flow event import has less moving parts than the activity event import, so I expect it be a smoother ride than last weekend if we take that route.

@rfk r?

@@ -253,23 +271,6 @@
AND flow_metadata.begin_time <= '{day}'::DATE + '1 day'::INTERVAL;
"""

Q_INSERT_EVENTS = """
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I like to keep these definitions in invocation order to make reading them more logical, since they're a bit distant from the point of usage.

Copy link
Contributor

@rfk rfk left a comment

Choose a reason for hiding this comment

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

LGTM

@philbooth philbooth merged commit 39966c0 into master Feb 24, 2017
philbooth added a commit that referenced this pull request Feb 24, 2017
feat(scripts): add optional locale and uid to flow_metadata
#55

fix(scripts): ensure dependent flow_metadata columns are set sanely
#53

r=rfk
@philbooth philbooth deleted the phil/issue-51 branch February 24, 2017 18:06
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.

Flows that contain flow.complete, but have completed=false
2 participants