Guest User

Untitled

a guest
Jun 21st, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. ## error
  2. BoyosPlace::Schema::Result::Users::add_to_user_roles(): Can't find source for BoyosPlace::Schema::UserRoles at /home/devin/web-devel/boyosplace/script/../lib/BoyosPlace/Schema/ResultSet/Users.pm line 157
  3.  
  4. ## Schema::UserRoles
  5.  
  6. package BoyosPlace::Schema::UserRoles;
  7.  
  8. use strict;
  9. use warnings;
  10.  
  11. use base 'DBIx::Class';
  12.  
  13. __PACKAGE__->load_components(
  14. "InflateColumn::DateTime",
  15. "InflateColumn::FS",
  16. "PK::Auto",
  17. "Core",
  18. );
  19. __PACKAGE__->table("user_roles");
  20. __PACKAGE__->add_columns(
  21. "userid",
  22. { data_type => "INT", default_value => 0, is_nullable => 0, size => 11 },
  23. "roleid",
  24. { data_type => "INT", default_value => 0, is_nullable => 0, size => 11 },
  25. );
  26. __PACKAGE__->set_primary_key("userid", "roleid");
  27.  
  28.  
  29. # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-12-01 02:57:02
  30. # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kX/SSWbHQzKHc9uHxGmPUQ
  31. __PACKAGE__->belongs_to("role", "BoyosPlace::Schema::Roles", { roleid => "roleid" });
  32. __PACKAGE__->belongs_to("user", "BoyosPlace::Schema::Users", { userid => "userid" });
  33. 1;
  34.  
  35. ## Result::UserRoles
  36. package BoyosPlace::Schema::Result::UserRoles;
  37.  
  38. use strict;
  39. use warnings;
  40.  
  41. use base 'DBIx::Class';
  42.  
  43. __PACKAGE__->load_components(
  44. "InflateColumn::DateTime",
  45. "PK::Auto",
  46. "Core",
  47. );
  48. __PACKAGE__->table("user_roles");
  49. __PACKAGE__->add_columns(
  50. "userid",
  51. { data_type => "INT", default_value => 0, is_nullable => 0, size => 11 },
  52. "roleid",
  53. { data_type => "INT", default_value => 0, is_nullable => 0, size => 11 },
  54. );
  55. __PACKAGE__->set_primary_key("userid", "roleid");
  56.  
  57.  
  58. # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-12-01 02:57:02
  59. # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kX/SSWbHQzKHc9uHxGmPUQ
  60. __PACKAGE__->belongs_to("role", "BoyosPlace::Schema::Roles", { roleid => "roleid" });
  61. __PACKAGE__->belongs_to("user", "BoyosPlace::Schema::Users", { userid => "userid" });
  62. 1;
Add Comment
Please, Sign In to add comment