Commit Graph

5 Commits

Author SHA1 Message Date
Michael Kozono 87529ce582 Move temp table creation into the prepare job
* Hopefully fixes spec failures in which the table doesn’t exist
* Decouples the background migration from the post-deploy migration, e.g. we could easily run it again even though the table is dropped when finished.
2017-12-01 15:26:41 -08:00
Michael Kozono dd8680a7ae Drop temporary tracking table when finished 2017-12-01 15:26:41 -08:00
Michael Kozono 0e97e3089f Fix MySQL path field length
I believe the field only needs to fit 519 at the moment but I’m rounding up to be a little safer.

See the migration spec for more detail on the magic number 519.
2017-12-01 15:26:41 -08:00
Michael Kozono a210cb6b82 Rename table to untracked_files_for_uploads 2017-12-01 15:26:41 -08:00
Michael Kozono d6435b68c4 Add TrackUntrackedUploads post-deploy migration
To create the table, and schedule the background migration that begins the work.
2017-12-01 15:26:40 -08:00