Change to using straight numeric columns with no decimal points
This commit is contained in:
parent
51e1c4d7d4
commit
b34e47215a
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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" => {
|
||||||
|
|
|
@ -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" => {
|
||||||
|
|
Reference in a new issue