diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-17 14:19:15 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-17 14:19:15 +0100 |
commit | 7372afa95033cc39546664ad7a4f335bb7ea3e53 (patch) | |
tree | ed2a679224841ad47426a34c256b7dbcf0900fe0 /perllib/FixMyStreet/DB/Result/Contact.pm | |
parent | 57bbee2f0fd4808de5174ff66d74d5694a06c686 (diff) |
add comment table in to generated DB files and regenerate
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Contact.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Contact.pm | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Contact.pm b/perllib/FixMyStreet/DB/Result/Contact.pm index 5a993a773..798edf88f 100644 --- a/perllib/FixMyStreet/DB/Result/Contact.pm +++ b/perllib/FixMyStreet/DB/Result/Contact.pm @@ -11,35 +11,35 @@ use base 'DBIx::Class::Core'; __PACKAGE__->load_components("FilterColumn"); __PACKAGE__->table("contacts"); __PACKAGE__->add_columns( - "area_id", - { data_type => "integer", is_nullable => 0 }, - "category", - { data_type => "text", default_value => "Other", is_nullable => 0 }, - "email", - { data_type => "text", is_nullable => 0 }, - "confirmed", - { data_type => "boolean", is_nullable => 0 }, - "deleted", - { data_type => "boolean", is_nullable => 0 }, - "editor", - { data_type => "text", is_nullable => 0 }, - "whenedited", - { data_type => "timestamp", is_nullable => 0 }, - "note", - { data_type => "text", is_nullable => 0 }, - "id", - { - data_type => "integer", - is_auto_increment => 1, - is_nullable => 0, - sequence => "contacts_id_seq", - }, + "id", + { + data_type => "integer", + is_auto_increment => 1, + is_nullable => 0, + sequence => "contacts_id_seq", + }, + "area_id", + { data_type => "integer", is_nullable => 0 }, + "category", + { data_type => "text", default_value => "Other", is_nullable => 0 }, + "email", + { data_type => "text", is_nullable => 0 }, + "confirmed", + { data_type => "boolean", is_nullable => 0 }, + "deleted", + { data_type => "boolean", is_nullable => 0 }, + "editor", + { data_type => "text", is_nullable => 0 }, + "whenedited", + { data_type => "timestamp", is_nullable => 0 }, + "note", + { data_type => "text", is_nullable => 0 }, ); __PACKAGE__->set_primary_key("id"); -__PACKAGE__->add_unique_constraint( "contacts_area_id_category_idx", - [ "area_id", "category" ] ); +__PACKAGE__->add_unique_constraint("contacts_area_id_category_idx", ["area_id", "category"]); -# Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-24 17:36:08 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u6kRlRfgwAiCqmGhj6io5A + +# Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-05-17 14:18:03 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:l1vxwfXLgSjvE+YB/gh7iQ 1; |