Added migrations and tested uploader.

Signed-off-by: 'kiyanov' <'kiyanov.alex@gmail.com'>