Change to using straight numeric columns with no decimal points

This commit is contained in:
Tom Bloor 2017-09-13 15:23:48 +01:00
parent 51e1c4d7d4
commit b34e47215a
3 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ use warnings;
use base 'DBIx::Class::Schema';
our $VERSION = 6;
our $VERSION = 7;
__PACKAGE__->load_namespaces;

View file

@ -28,8 +28,8 @@ __PACKAGE__->add_columns(
is_nullable => 0,
},
"value" => {
data_type => "decimal",
size => [ 16, 2 ],
data_type => "numeric",
size => [ 100, 0 ],
is_nullable => 0,
},
"trend" => {

View file

@ -29,8 +29,8 @@ __PACKAGE__->add_columns(
is_nullable => 0,
},
"value" => {
data_type => "decimal",
size => [ 16, 2 ],
data_type => "numeric",
size => [ 100, 0 ],
is_nullable => 0,
},
"proof_image" => {