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/3214/head
lukevmorris 2018-04-16 12:47:38 -07:00 committed by GitHub
parent 33412d5b45
commit 210dd43d8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1338 additions and 33 deletions

File diff suppressed because it is too large Load Diff