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'; use base 'DBIx::Class::Schema';
our $VERSION = 6; our $VERSION = 7;
__PACKAGE__->load_namespaces; __PACKAGE__->load_namespaces;

View file

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

View file

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