It would be a bit complex to explain why I want to do that but basically I am wondering if I can define something like :
class customers extends page
static $has_many = array(
'country' => 'country'
class country extends DataObject
static $db = array(
'CountryName' => 'Text',
Note that I did *NOT* define the has-one relation in 'country'.
I know that by omitting the reverse "has-one" relation I can not point to a list of customers linked to the same country but
I know I will never need to .
So my question is : am I breaking the data model by doing this ? What risk am I taking here?
I tried and it works ...I just want to make sure I am not overlooking something critical.
Any advice and comments would be appreciated.