Apparently cascadeConstraints = 'true' is not supported in postgres, even thought the documentation says that it is. I had to make a change to drop the view before dropping the popularity table.