fix(migration): Snapshot all struct types (#3211)

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
pull/10616/head
lukevmorris 2018-04-16 12:47:38 -07:00 committed by GitHub
parent ce95bf9213
commit ada654cbe6
1 changed files with 1338 additions and 33 deletions

File diff suppressed because it is too large Load Diff