pretty sure riba wanted me to remove the exists check, can't find log of
that though
# assume a foreign key contraint unless defined otherwise
$attrs->{is_foreign_key_constraint} = 1
- if not exists $attrs->{is_foreign_key_constraint};
+ if not $attrs->{is_foreign_key_constraint};
$attrs->{is_foreign_rel} = 1
if not exists $attrs->{is_foreign_rel};
my $default_cascade = ref $cond eq 'CODE' ? 0 : 1;
$attrs->{is_foreign_rel} = 0
- if not exists $attrs->{is_foreign_rel};
+ if not $attrs->{is_foreign_rel};
$class->add_relationship($rel, $f_class, $cond, {
accessor => 'multi',
my $default_cascade = ref $cond eq 'CODE' ? 0 : 1;
$attrs->{is_foreign_rel} = 0
- if not exists $attrs->{is_foreign_rel};
+ if not $attrs->{is_foreign_rel};
$class->add_relationship($rel, $f_class,
$cond,