added importing doogal data for wards on postcode

This commit is contained in:
Finn 2019-08-29 16:37:55 +01:00
parent 0f13d7528e
commit e04b1a51b6
16 changed files with 4947 additions and 1 deletions

View file

@ -31,8 +31,19 @@ __PACKAGE__->add_columns(
is_nullable => 1,
default_value => undef,
},
ward_id => {
data_type => 'integer',
is_nullable => 1,
default_value => undef,
},
);
__PACKAGE__->set_primary_key(qw/ outcode incode /);
__PACKAGE__->belongs_to(
"ward",
"Pear::LocalLoop::Schema::Result::GbWard",
"ward_id",
);
1;