diff --git a/lib/Pear/LocalLoop/Schema/Result/GlobalMedals.pm b/lib/Pear/LocalLoop/Schema/Result/GlobalMedals.pm index 67b6c52..04c8d06 100644 --- a/lib/Pear/LocalLoop/Schema/Result/GlobalMedals.pm +++ b/lib/Pear/LocalLoop/Schema/Result/GlobalMedals.pm @@ -14,8 +14,7 @@ __PACKAGE__->add_columns( is_nullable => 0, }, "group_id" => { - data_type => "varchar", - size => 255, + data_type => "integer", is_nullable => 0, }, "threshold" => { diff --git a/lib/Pear/LocalLoop/Schema/Result/GlobalUserMedalProgress.pm b/lib/Pear/LocalLoop/Schema/Result/GlobalUserMedalProgress.pm index 7f70b06..7e526d2 100644 --- a/lib/Pear/LocalLoop/Schema/Result/GlobalUserMedalProgress.pm +++ b/lib/Pear/LocalLoop/Schema/Result/GlobalUserMedalProgress.pm @@ -14,13 +14,11 @@ __PACKAGE__->add_columns( is_nullable => 0, }, "entity_id" => { - data_type => "varchar", - size => 255, + data_type => "integer", is_nullable => 0, }, "group_id" => { - data_type => "varchar", - size => 255, + data_type => "integer", is_nullable => 0, }, "total" => { diff --git a/lib/Pear/LocalLoop/Schema/Result/GlobalUserMedals.pm b/lib/Pear/LocalLoop/Schema/Result/GlobalUserMedals.pm index d30a496..e0dc168 100644 --- a/lib/Pear/LocalLoop/Schema/Result/GlobalUserMedals.pm +++ b/lib/Pear/LocalLoop/Schema/Result/GlobalUserMedals.pm @@ -19,13 +19,11 @@ __PACKAGE__->add_columns( is_nullable => 0, }, "entity_id" => { - data_type => "varchar", - size => 255, + data_type => "integer", is_nullable => 0, }, "group_id" => { - data_type => "varchar", - size => 255, + data_type => "integer", is_nullable => 0, }, "points" => { diff --git a/lib/Pear/LocalLoop/Schema/Result/OrgMedals.pm b/lib/Pear/LocalLoop/Schema/Result/OrgMedals.pm index f57dc6d..4b3f9e5 100644 --- a/lib/Pear/LocalLoop/Schema/Result/OrgMedals.pm +++ b/lib/Pear/LocalLoop/Schema/Result/OrgMedals.pm @@ -14,8 +14,7 @@ __PACKAGE__->add_columns( is_nullable => 0, }, "group_id" => { - data_type => "varchar", - size => 255, + data_type => "integer", is_nullable => 0, }, "threshold" => { diff --git a/lib/Pear/LocalLoop/Schema/Result/OrgUserMedalProgress.pm b/lib/Pear/LocalLoop/Schema/Result/OrgUserMedalProgress.pm index b032f5f..df0ff1e 100644 --- a/lib/Pear/LocalLoop/Schema/Result/OrgUserMedalProgress.pm +++ b/lib/Pear/LocalLoop/Schema/Result/OrgUserMedalProgress.pm @@ -14,13 +14,11 @@ __PACKAGE__->add_columns( is_nullable => 0, }, "entity_id" => { - data_type => "varchar", - size => 255, + data_type => "integer", is_nullable => 0, }, "group_id" => { - data_type => "varchar", - size => 255, + data_type => "integer", is_nullable => 0, }, "total" => { diff --git a/lib/Pear/LocalLoop/Schema/Result/OrgUserMedals.pm b/lib/Pear/LocalLoop/Schema/Result/OrgUserMedals.pm index a822a42..cd8671e 100644 --- a/lib/Pear/LocalLoop/Schema/Result/OrgUserMedals.pm +++ b/lib/Pear/LocalLoop/Schema/Result/OrgUserMedals.pm @@ -19,13 +19,11 @@ __PACKAGE__->add_columns( is_nullable => 0, }, "entity_id" => { - data_type => "varchar", - size => 255, + data_type => "integer", is_nullable => 0, }, "group_id" => { - data_type => "varchar", - size => 255, + data_type => "integer", is_nullable => 0, }, "points" => {