create attachments table, finish creating profile table