Bug 22600: Schema updates
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
6d4eb48dd4
commit
bdb1576455
|
|
@ -69,6 +69,12 @@ __PACKAGE__->table("accountlines");
|
|||
is_nullable: 1
|
||||
size: 5
|
||||
|
||||
=head2 status
|
||||
|
||||
data_type: 'varchar'
|
||||
is_nullable: 1
|
||||
size: 16
|
||||
|
||||
=head2 payment_type
|
||||
|
||||
data_type: 'varchar'
|
||||
|
|
@ -99,6 +105,12 @@ __PACKAGE__->table("accountlines");
|
|||
is_foreign_key: 1
|
||||
is_nullable: 1
|
||||
|
||||
=head2 interface
|
||||
|
||||
data_type: 'varchar'
|
||||
is_nullable: 0
|
||||
size: 16
|
||||
|
||||
=head2 branchcode
|
||||
|
||||
data_type: 'varchar'
|
||||
|
|
@ -125,6 +137,8 @@ __PACKAGE__->add_columns(
|
|||
{ data_type => "longtext", is_nullable => 1 },
|
||||
"accounttype",
|
||||
{ data_type => "varchar", is_nullable => 1, size => 5 },
|
||||
"status",
|
||||
{ data_type => "varchar", is_nullable => 1, size => 16 },
|
||||
"payment_type",
|
||||
{ data_type => "varchar", is_nullable => 1, size => 80 },
|
||||
"amountoutstanding",
|
||||
|
|
@ -140,6 +154,8 @@ __PACKAGE__->add_columns(
|
|||
{ data_type => "mediumtext", is_nullable => 1 },
|
||||
"manager_id",
|
||||
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
|
||||
"interface",
|
||||
{ data_type => "varchar", is_nullable => 0, size => 16 },
|
||||
"branchcode",
|
||||
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
|
||||
);
|
||||
|
|
@ -269,8 +285,8 @@ __PACKAGE__->belongs_to(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-28 18:01:31
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6TVweDBJR9SEra68zHn8fQ
|
||||
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OaHSR4SeurCr7h6nizbtBg
|
||||
|
||||
sub koha_objects_class {
|
||||
'Koha::Account::Lines';
|
||||
|
|
|
|||
|
|
@ -68,7 +68,8 @@ __PACKAGE__->table("issues");
|
|||
=head2 renewals
|
||||
|
||||
data_type: 'tinyint'
|
||||
is_nullable: 1
|
||||
default_value: 0
|
||||
is_nullable: 0
|
||||
|
||||
=head2 auto_renew
|
||||
|
||||
|
|
@ -147,7 +148,7 @@ __PACKAGE__->add_columns(
|
|||
is_nullable => 1,
|
||||
},
|
||||
"renewals",
|
||||
{ data_type => "tinyint", is_nullable => 1 },
|
||||
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
|
||||
"auto_renew",
|
||||
{ data_type => "tinyint", default_value => 0, is_nullable => 1 },
|
||||
"auto_renew_error",
|
||||
|
|
@ -248,8 +249,8 @@ __PACKAGE__->belongs_to(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-23 13:51:40
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+mlcId4odhAFp3HHgV/+tg
|
||||
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PUF5X7X9K44BC0d43Rat7w
|
||||
|
||||
__PACKAGE__->add_columns(
|
||||
'+auto_renew' => { is_boolean => 1 },
|
||||
|
|
|
|||
|
|
@ -67,7 +67,8 @@ __PACKAGE__->table("old_issues");
|
|||
=head2 renewals
|
||||
|
||||
data_type: 'tinyint'
|
||||
is_nullable: 1
|
||||
default_value: 0
|
||||
is_nullable: 0
|
||||
|
||||
=head2 auto_renew
|
||||
|
||||
|
|
@ -146,7 +147,7 @@ __PACKAGE__->add_columns(
|
|||
is_nullable => 1,
|
||||
},
|
||||
"renewals",
|
||||
{ data_type => "tinyint", is_nullable => 1 },
|
||||
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
|
||||
"auto_renew",
|
||||
{ data_type => "tinyint", default_value => 0, is_nullable => 1 },
|
||||
"auto_renew_error",
|
||||
|
|
@ -233,8 +234,8 @@ __PACKAGE__->belongs_to(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-23 13:51:40
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1f688Osvh/sxg2P/qffZ2g
|
||||
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E2N2paWcCHg916100ry+2A
|
||||
|
||||
__PACKAGE__->belongs_to(
|
||||
"borrower",
|
||||
|
|
|
|||
Loading…
Reference in New Issue