Creating table for HABTM