diff options
author | Dave Arter <davea@mysociety.org> | 2016-10-17 16:52:49 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-10-19 14:44:55 +0100 |
commit | 58684be7a9b8fec8c90e6f94ecea0c21c3ae5e59 (patch) | |
tree | 446805366b3a8bc7181db5bc24180916f3c64d37 /perllib/FixMyStreet/DB/Result/ResponsePriority.pm | |
parent | 9756df6ab27f96d4f466ee98722baaf7e751c34f (diff) |
Add ‘description’ field to ResponsePriority model
Used internally to provide more details about when a priority is applicable.
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/ResponsePriority.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/ResponsePriority.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/DB/Result/ResponsePriority.pm b/perllib/FixMyStreet/DB/Result/ResponsePriority.pm index d312fbcea..6bc8474fa 100644 --- a/perllib/FixMyStreet/DB/Result/ResponsePriority.pm +++ b/perllib/FixMyStreet/DB/Result/ResponsePriority.pm @@ -24,6 +24,8 @@ __PACKAGE__->add_columns( { data_type => "text", is_nullable => 0 }, "deleted", { data_type => "boolean", default_value => \"false", is_nullable => 0 }, + "description", + { data_type => "text", is_nullable => 1 }, ); __PACKAGE__->set_primary_key("id"); __PACKAGE__->add_unique_constraint("response_priorities_body_id_name_key", ["body_id", "name"]); @@ -47,8 +49,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07035 @ 2016-09-07 11:01:40 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:B1swGtQzC3qRa0LUM4IyzA +# Created by DBIx::Class::Schema::Loader v0.07035 @ 2016-10-17 16:37:28 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wok3cPA7cPjG4e9lnc1PIg __PACKAGE__->many_to_many( contacts => 'contact_response_priorities', 'contact' ); |