Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix database port script to work with new event_search table #387

Merged
merged 2 commits into from
Nov 19, 2015

Conversation

erikjohnston
Copy link
Member

No description provided.

@@ -229,19 +230,51 @@ class Porter(object):
if rows:
next_chunk = rows[-1][0] + 1

self._convert_rows(table, headers, rows)
if table == "event_search":
# We have to treat event_search differnetly since it has a
Copy link
Contributor

Choose a reason for hiding this comment

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

spelling differently

@NegativeMjark
Copy link
Contributor

LGTM other than the spelling. I wonder if it would be simpler to leave it to a background update task like the schema update script does.

@erikjohnston
Copy link
Member Author

@NegativeMjark I thought about that, but then I concluded it would be simpler and easier to understand to just port all the data across; otherwise I would have to start fiddling with the actual data to ensure it was all consistent, etc.

@NegativeMjark
Copy link
Contributor

LGTM

erikjohnston added a commit that referenced this pull request Nov 19, 2015
Fix database port script to work with new event_search table
@erikjohnston erikjohnston merged commit e5d91b8 into develop Nov 19, 2015
@erikjohnston erikjohnston deleted the erikj/fix_port_script branch November 19, 2015 16:33
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.

2 participants