generate model favourite and associations #276