Added initial schema for medals
This commit is contained in:
parent
480c8ed78f
commit
940d96921c
6 changed files with 198 additions and 0 deletions
|
@ -56,6 +56,20 @@ __PACKAGE__->has_many(
|
|||
{ cascade_copy => 0, cascade_delete => 0 },
|
||||
);
|
||||
|
||||
__PACKAGE__->has_many(
|
||||
"global_user_medals",
|
||||
"Pear::LocalLoop::Schema::Result::GlobalUserMedals",
|
||||
{ "foreign.entity_id" => "self.id" },
|
||||
{ cascade_copy => 0, cascade_delete => 0 },
|
||||
);
|
||||
|
||||
__PACKAGE__->has_many(
|
||||
"global_user_medal_progress",
|
||||
"Pear::LocalLoop::Schema::Result::GlobalUserMedalProgress",
|
||||
{ "foreign.entity_id" => "self.id" },
|
||||
{ cascade_copy => 0, cascade_delete => 0 },
|
||||
);
|
||||
|
||||
sub name {
|
||||
my $self = shift;
|
||||
|
||||
|
|
Reference in a new issue