Dancer2-Plugin-Auth-Extensible-Provider-Usergroup

 view release on metacpan or  search on metacpan

t/lib/Schema1/Result/Group.pm  view on Meta::CPAN

Type: has_many

Related object: L<t::lib::Schema1::Result::Membership>

=cut

__PACKAGE__->has_many(
  "memberships",
  "t::lib::Schema1::Result::Membership",
  { "foreign.group_id" => "self.id" },
  { cascade_copy => 0, cascade_delete => 0 },
);


# Created by DBIx::Class::Schema::Loader v0.07043 @ 2016-04-01 11:38:38
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cbfROCT5/5jkcwNTB7H4ng


# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

t/lib/Schema1/Result/User.pm  view on Meta::CPAN

);

__PACKAGE__->set_primary_key("id");

__PACKAGE__->add_unique_constraint("login_name_unique", ["login_name"]);

__PACKAGE__->has_many(
  "memberships",
  "t::lib::Schema1::Result::Membership",
  { "foreign.user_id" => "self.id" },
  { cascade_copy => 0, cascade_delete => 0 },
);

1;

t/lib/Schema2/Result/Myuser.pm  view on Meta::CPAN

);

__PACKAGE__->set_primary_key("id");

__PACKAGE__->add_unique_constraint("mylogin_name_unique", ["mylogin_name"]);

__PACKAGE__->has_many(
  "mymemberships",
  "t::lib::Schema2::Result::Mymembership",
  { "foreign.myuser_id" => "self.id" },
  { cascade_copy => 0, cascade_delete => 0 },
);
1;



( run in 1.132 second using v1.01-cache-2.11-cpan-49f99fa48dc )