added importing doogal data for wards on postcode
This commit is contained in:
parent
0f13d7528e
commit
e04b1a51b6
16 changed files with 4947 additions and 1 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue