Skip to content

Commit

Permalink
fix(migration): Snapshot all struct types (#3211)
Browse files Browse the repository at this point in the history
declaring all migration-irrelevant types as []byte may erase data
for repeated protobuf fields. we hoped that "obscuring" the original
types of these columns with []byte would pass-through their values
unchanged, allowing us to omit entire types (and their descendent
trees) that were not being operated on in a migration. Fewer imported
types would lead to a more expressive migration file whose intent was
more clear to the reader. We will need to experiment with other ways
to achieve this in the future.

fixes #3200
  • Loading branch information
lukevmorris committed Apr 16, 2018
1 parent fb799ec commit b988ed1
Showing 1 changed file with 1,342 additions and 37 deletions.
Loading

0 comments on commit b988ed1

Please sign in to comment.