RMaint Follow up fixing mistake of not running DBIC after DBRev

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2019-09-19 21:11:43 +00:00
parent ef94f8e190
commit 0ce80f808e
3 changed files with 18 additions and 20 deletions

View File

@ -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-09-19 20:31:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ar0goZYDWdXFAGUvIljzEw
__PACKAGE__->add_columns(
'+auto_renew' => { is_boolean => 1 },

View File

@ -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-09-19 20:31:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NjqzB7ICmk0Qdpzu1d390g
__PACKAGE__->belongs_to(
"borrower",

View File

@ -59,17 +59,13 @@ __PACKAGE__->table("subscriptionhistory");
=head2 opacnote
data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 150
data_type: 'longtext'
is_nullable: 1
=head2 librariannote
data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 150
data_type: 'longtext'
is_nullable: 1
=cut
@ -87,9 +83,9 @@ __PACKAGE__->add_columns(
"recievedlist",
{ data_type => "longtext", is_nullable => 0 },
"opacnote",
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 150 },
{ data_type => "longtext", is_nullable => 1 },
"librariannote",
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 150 },
{ data_type => "longtext", is_nullable => 1 },
);
=head1 PRIMARY KEY
@ -105,8 +101,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("subscriptionid");
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+cXluRE1oKiCGOgwq1bhJw
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-09-19 20:31:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:agjFFZ+wiiWP5GTRKap8+Q
# You can replace this text with custom content, and it will be preserved on regeneration