diff options
author | Dave Arter <davea@mysociety.org> | 2016-08-03 13:44:00 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-08-22 11:33:45 +0100 |
commit | 05f04f40aa2c4fef44474f7057a92f6685387e7e (patch) | |
tree | a1cacec534da24c011c0c204b0b03c014e272eff /perllib/FixMyStreet/DB | |
parent | 618b9a32cec0c045a8e3e910fd38f89f4aa9203a (diff) |
Allow user to have an area assigned in admin
Diffstat (limited to 'perllib/FixMyStreet/DB')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/User.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/DB/Result/User.pm b/perllib/FixMyStreet/DB/Result/User.pm index cc8e050da..697cfedf6 100644 --- a/perllib/FixMyStreet/DB/Result/User.pm +++ b/perllib/FixMyStreet/DB/Result/User.pm @@ -38,6 +38,8 @@ __PACKAGE__->add_columns( { data_type => "bigint", is_nullable => 1 }, "is_superuser", { data_type => "boolean", default_value => \"false", is_nullable => 0 }, + "area_id", + { data_type => "integer", is_nullable => 1 }, ); __PACKAGE__->set_primary_key("id"); __PACKAGE__->add_unique_constraint("users_email_key", ["email"]); @@ -98,8 +100,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07035 @ 2016-07-20 15:00:41 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+pEOZ8GM14D4gqkp+fr+ZA +# Created by DBIx::Class::Schema::Loader v0.07035 @ 2016-08-03 13:52:28 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SX8BS91mWHoOm2oWdNth1w use Moo; use mySociety::EmailUtil; |