add foreign key to user <-> revisions association