Change registration to be the same as the api docs

This commit is contained in:
Tom Bloor 2017-04-22 19:35:19 +01:00
parent 7e5211b7b7
commit 1d1b4aa1cf
8 changed files with 91 additions and 154 deletions

View file

@ -13,7 +13,7 @@ __PACKAGE__->add_columns(
is_auto_increment => 1,
is_nullable => 0,
},
"username" => {
"name" => {
data_type => "varchar",
size => 255,
is_nullable => 0,
@ -32,8 +32,6 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("id");
__PACKAGE__->add_unique_constraint(["username"]);
__PACKAGE__->belongs_to(
"age_range",
"Pear::LocalLoop::Schema::Result::AgeRange",