Change foreign key name to be unique based on timestamp