All pastes #403911 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-20 18:23 UTC
rendered paste body
is it possible to do something like that's :

two tables:
 exercice:
   id: int
   name: string..
   category: perhaps string?


  category:
   id: int
   name: string


and I would like for one exercice has many categories, 
doctrine can do that ? or I need to make a new table
for link many category for one exercice.
and search all exercice who have one category to use.