diff options
author | Struan Donald <struan@exo.org.uk> | 2012-08-29 17:43:22 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-08-29 17:43:22 +0100 |
commit | 0fad1a7b85ac83dce778b7dd22cd9d74f524ce23 (patch) | |
tree | b74e71b18b6cd8d267b29b264f8af89e801b9ca9 /perllib/FixMyStreet/DB/Result/Contact.pm | |
parent | 716c333de51d06e289f0dd798ec675b6466e336a (diff) |
allow endpoints to be configured at a category level
default cobrand now checks for endpoint configuration and only
extra fallbacks are in UK cobrand
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Contact.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Contact.pm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Contact.pm b/perllib/FixMyStreet/DB/Result/Contact.pm index c32b75d0c..2a6ffa2fe 100644 --- a/perllib/FixMyStreet/DB/Result/Contact.pm +++ b/perllib/FixMyStreet/DB/Result/Contact.pm @@ -36,13 +36,21 @@ __PACKAGE__->add_columns( { data_type => "text", is_nullable => 0 }, "extra", { data_type => "text", is_nullable => 1 }, + "endpoint", + { data_type => "text", is_nullable => 1 }, + "jurisdiction", + { data_type => "text", default_value => "", is_nullable => 1 }, + "api_key", + { data_type => "text", default_value => "", is_nullable => 1 }, + "send_method", + { data_type => "text", is_nullable => 1 }, ); __PACKAGE__->set_primary_key("id"); __PACKAGE__->add_unique_constraint("contacts_area_id_category_idx", ["area_id", "category"]); -# Created by DBIx::Class::Schema::Loader v0.07017 @ 2012-03-08 17:19:55 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hyvU0bMWSFxEPAJT7wqM/Q +# Created by DBIx::Class::Schema::Loader v0.07017 @ 2012-08-29 17:34:28 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:getDAgTeXkAYQTcxHWflmA __PACKAGE__->filter_column( extra => { |