database storage for paperclip