* oops. missed actual migartion

This commit is contained in:
Seth Call 2013-05-30 20:52:07 -05:00
parent 57fe8c244c
commit 00868fe3b5
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
-- add columns necessary to store a filepicker original file, cropped file, and original s3 paths to each
ALTER TABLE users ADD COLUMN original_fpfile VARCHAR(8000) DEFAULT NULL;
ALTER TABLE users ADD COLUMN cropped_fpfile VARCHAR(8000) DEFAULT NULL;
ALTER TABLE users ADD COLUMN cropped_s3_path VARCHAR(512) DEFAULT NULL;
ALTER TABLE users ADD COLUMN crop_selection VARCHAR(256) DEFAULT NULL;
-- photo_url, which already exists on users, is now just the http accessible version of the cropped_s3_path