fully operational and functioning recurring script + changes to schema

This commit is contained in:
Finn 2018-03-08 15:31:44 +00:00
parent 813cbb82a5
commit bdf23b2f3d
28 changed files with 11411 additions and 36 deletions

View file

@ -5,6 +5,11 @@ use warnings;
use base 'DBIx::Class::Core';
__PACKAGE__->load_components(qw/
InflateColumn::DateTime
TimeStamp
/);
__PACKAGE__->table("transaction_recurring");
__PACKAGE__->add_columns(
@ -36,7 +41,6 @@ __PACKAGE__->add_columns(
},
"last_updated" => {
data_type => "datetime",
timezone => "UTC",
is_nullable => 0,
set_on_create => 1,
},
@ -45,6 +49,11 @@ __PACKAGE__->add_columns(
default_value => \"false",
is_nullable => 0,
},
"distance" => {
data_type => 'numeric',
size => [15],
is_nullable => 1,
},
"category_id" => {
data_type => "integer",
is_nullable => 1,