Added lat and long to customers and organisations
This commit is contained in:
parent
ad51891f51
commit
a810795ca5
2 changed files with 24 additions and 0 deletions
|
@ -37,6 +37,18 @@ __PACKAGE__->add_columns(
|
|||
size => 16,
|
||||
is_nullable => 0,
|
||||
},
|
||||
latitude => {
|
||||
data_type => 'decimal',
|
||||
size => [5,2],
|
||||
is_nullable => 1,
|
||||
default_value => undef,
|
||||
},
|
||||
longitude => {
|
||||
data_type => 'decimal',
|
||||
size => [5,2],
|
||||
is_nullable => 1,
|
||||
default_value => undef,
|
||||
},
|
||||
);
|
||||
|
||||
__PACKAGE__->set_primary_key("id");
|
||||
|
|
|
@ -58,6 +58,18 @@ __PACKAGE__->add_columns(
|
|||
data_type => 'integer',
|
||||
is_nullable => 1,
|
||||
},
|
||||
latitude => {
|
||||
data_type => 'decimal',
|
||||
size => [8,5],
|
||||
is_nullable => 1,
|
||||
default_value => undef,
|
||||
},
|
||||
longitude => {
|
||||
data_type => 'decimal',
|
||||
size => [8,5],
|
||||
is_nullable => 1,
|
||||
default_value => undef,
|
||||
},
|
||||
);
|
||||
|
||||
__PACKAGE__->set_primary_key('id');
|
||||
|
|
Reference in a new issue