Change registration to be the same as the api docs
This commit is contained in:
parent
7e5211b7b7
commit
1d1b4aa1cf
8 changed files with 91 additions and 154 deletions
|
@ -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",
|
||||
|
|
Reference in a new issue