A pub will be knocked down for the apartments