Bug 12781: DBIx::Class schema update 08/2014

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Tomás Cohen Arazi 2014-08-18 13:11:42 -03:00
parent eb81090c1b
commit 086c5be7da
10 changed files with 299 additions and 150 deletions

View file

@ -134,57 +134,67 @@ __PACKAGE__->table("borrowers");
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_streetnumber =head2 B_streetnumber
accessor: 'b_streetnumber'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 10 size: 10
=head2 b_streettype =head2 B_streettype
accessor: 'b_streettype'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 50 size: 50
=head2 b_address =head2 B_address
accessor: 'b_address'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 100 size: 100
=head2 b_address2 =head2 B_address2
accessor: 'b_address2'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_city =head2 B_city
accessor: 'b_city'
data_type: 'mediumtext' data_type: 'mediumtext'
is_nullable: 1 is_nullable: 1
=head2 b_state =head2 B_state
accessor: 'b_state'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_zipcode =head2 B_zipcode
accessor: 'b_zipcode'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 25 size: 25
=head2 b_country =head2 B_country
accessor: 'b_country'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_email =head2 B_email
accessor: 'b_email'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_phone =head2 B_phone
accessor: 'b_phone'
data_type: 'mediumtext' data_type: 'mediumtext'
is_nullable: 1 is_nullable: 1
@ -442,26 +452,46 @@ __PACKAGE__->add_columns(
{ data_type => "text", is_nullable => 1 }, { data_type => "text", is_nullable => 1 },
"phonepro", "phonepro",
{ data_type => "text", is_nullable => 1 }, { data_type => "text", is_nullable => 1 },
"b_streetnumber", "B_streetnumber",
{ data_type => "varchar", is_nullable => 1, size => 10 }, {
"b_streettype", accessor => "b_streetnumber",
{ data_type => "varchar", is_nullable => 1, size => 50 }, data_type => "varchar",
"b_address", is_nullable => 1,
{ data_type => "varchar", is_nullable => 1, size => 100 }, size => 10,
"b_address2", },
{ data_type => "text", is_nullable => 1 }, "B_streettype",
"b_city", {
{ data_type => "mediumtext", is_nullable => 1 }, accessor => "b_streettype",
"b_state", data_type => "varchar",
{ data_type => "text", is_nullable => 1 }, is_nullable => 1,
"b_zipcode", size => 50,
{ data_type => "varchar", is_nullable => 1, size => 25 }, },
"b_country", "B_address",
{ data_type => "text", is_nullable => 1 }, {
"b_email", accessor => "b_address",
{ data_type => "text", is_nullable => 1 }, data_type => "varchar",
"b_phone", is_nullable => 1,
{ data_type => "mediumtext", is_nullable => 1 }, size => 100,
},
"B_address2",
{ accessor => "b_address2", data_type => "text", is_nullable => 1 },
"B_city",
{ accessor => "b_city", data_type => "mediumtext", is_nullable => 1 },
"B_state",
{ accessor => "b_state", data_type => "text", is_nullable => 1 },
"B_zipcode",
{
accessor => "b_zipcode",
data_type => "varchar",
is_nullable => 1,
size => 25,
},
"B_country",
{ accessor => "b_country", data_type => "text", is_nullable => 1 },
"B_email",
{ accessor => "b_email", data_type => "text", is_nullable => 1 },
"B_phone",
{ accessor => "b_phone", data_type => "mediumtext", is_nullable => 1 },
"dateofbirth", "dateofbirth",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"branchcode", "branchcode",
@ -1072,8 +1102,8 @@ Composing rels: L</course_instructors> -> course
__PACKAGE__->many_to_many("courses", "course_instructors", "course"); __PACKAGE__->many_to_many("courses", "course_instructors", "course");
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5cfpOojccKCoVRMj+0mWHg # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZzZiKYN4b/LuEARX4rawhA
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -148,57 +148,67 @@ __PACKAGE__->table("borrower_modifications");
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_streetnumber =head2 B_streetnumber
accessor: 'b_streetnumber'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 10 size: 10
=head2 b_streettype =head2 B_streettype
accessor: 'b_streettype'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 50 size: 50
=head2 b_address =head2 B_address
accessor: 'b_address'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 100 size: 100
=head2 b_address2 =head2 B_address2
accessor: 'b_address2'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_city =head2 B_city
accessor: 'b_city'
data_type: 'mediumtext' data_type: 'mediumtext'
is_nullable: 1 is_nullable: 1
=head2 b_state =head2 B_state
accessor: 'b_state'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_zipcode =head2 B_zipcode
accessor: 'b_zipcode'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 25 size: 25
=head2 b_country =head2 B_country
accessor: 'b_country'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_email =head2 B_email
accessor: 'b_email'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_phone =head2 B_phone
accessor: 'b_phone'
data_type: 'mediumtext' data_type: 'mediumtext'
is_nullable: 1 is_nullable: 1
@ -460,26 +470,46 @@ __PACKAGE__->add_columns(
{ data_type => "text", is_nullable => 1 }, { data_type => "text", is_nullable => 1 },
"phonepro", "phonepro",
{ data_type => "text", is_nullable => 1 }, { data_type => "text", is_nullable => 1 },
"b_streetnumber", "B_streetnumber",
{ data_type => "varchar", is_nullable => 1, size => 10 }, {
"b_streettype", accessor => "b_streetnumber",
{ data_type => "varchar", is_nullable => 1, size => 50 }, data_type => "varchar",
"b_address", is_nullable => 1,
{ data_type => "varchar", is_nullable => 1, size => 100 }, size => 10,
"b_address2", },
{ data_type => "text", is_nullable => 1 }, "B_streettype",
"b_city", {
{ data_type => "mediumtext", is_nullable => 1 }, accessor => "b_streettype",
"b_state", data_type => "varchar",
{ data_type => "text", is_nullable => 1 }, is_nullable => 1,
"b_zipcode", size => 50,
{ data_type => "varchar", is_nullable => 1, size => 25 }, },
"b_country", "B_address",
{ data_type => "text", is_nullable => 1 }, {
"b_email", accessor => "b_address",
{ data_type => "text", is_nullable => 1 }, data_type => "varchar",
"b_phone", is_nullable => 1,
{ data_type => "mediumtext", is_nullable => 1 }, size => 100,
},
"B_address2",
{ accessor => "b_address2", data_type => "text", is_nullable => 1 },
"B_city",
{ accessor => "b_city", data_type => "mediumtext", is_nullable => 1 },
"B_state",
{ accessor => "b_state", data_type => "text", is_nullable => 1 },
"B_zipcode",
{
accessor => "b_zipcode",
data_type => "varchar",
is_nullable => 1,
size => 25,
},
"B_country",
{ accessor => "b_country", data_type => "text", is_nullable => 1 },
"B_email",
{ accessor => "b_email", data_type => "text", is_nullable => 1 },
"B_phone",
{ accessor => "b_phone", data_type => "mediumtext", is_nullable => 1 },
"dateofbirth", "dateofbirth",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"branchcode", "branchcode",
@ -569,8 +599,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("verification_token", "borrowernumber"); __PACKAGE__->set_primary_key("verification_token", "borrowernumber");
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:11X5o3u4/EqPRVbQdtAuOA # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xUfsaCL/IR4h5U7AKHmFzw
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -23,20 +23,23 @@ __PACKAGE__->table("branch_transfer_limits");
=head1 ACCESSORS =head1 ACCESSORS
=head2 limitid =head2 limitId
accessor: 'limit_id'
data_type: 'integer' data_type: 'integer'
is_auto_increment: 1 is_auto_increment: 1
is_nullable: 0 is_nullable: 0
=head2 tobranch =head2 toBranch
accessor: 'to_branch'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 0 is_nullable: 0
size: 10 size: 10
=head2 frombranch =head2 fromBranch
accessor: 'from_branch'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 0 is_nullable: 0
size: 10 size: 10
@ -56,12 +59,27 @@ __PACKAGE__->table("branch_transfer_limits");
=cut =cut
__PACKAGE__->add_columns( __PACKAGE__->add_columns(
"limitid", "limitId",
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, {
"tobranch", accessor => "limit_id",
{ data_type => "varchar", is_nullable => 0, size => 10 }, data_type => "integer",
"frombranch", is_auto_increment => 1,
{ data_type => "varchar", is_nullable => 0, size => 10 }, is_nullable => 0,
},
"toBranch",
{
accessor => "to_branch",
data_type => "varchar",
is_nullable => 0,
size => 10,
},
"fromBranch",
{
accessor => "from_branch",
data_type => "varchar",
is_nullable => 0,
size => 10,
},
"itemtype", "itemtype",
{ data_type => "varchar", is_nullable => 1, size => 10 }, { data_type => "varchar", is_nullable => 1, size => 10 },
"ccode", "ccode",
@ -72,17 +90,17 @@ __PACKAGE__->add_columns(
=over 4 =over 4
=item * L</limitid> =item * L</limitId>
=back =back
=cut =cut
__PACKAGE__->set_primary_key("limitid"); __PACKAGE__->set_primary_key("limitId");
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HN/uEtGTNOewMCqTQZ1Vew # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XPpJwcw5PRa7Fo7PRg32zg
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -102,8 +102,9 @@ __PACKAGE__->table("categories");
is_nullable: 0 is_nullable: 0
size: 1 size: 1
=head2 blockexpiredpatronopacactions =head2 BlockExpiredPatronOpacActions
accessor: 'block_expired_patron_opac_actions'
data_type: 'tinyint' data_type: 'tinyint'
default_value: -1 default_value: -1
is_nullable: 0 is_nullable: 0
@ -146,8 +147,13 @@ __PACKAGE__->add_columns(
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, { data_type => "tinyint", default_value => 0, is_nullable => 0 },
"category_type", "category_type",
{ data_type => "varchar", default_value => "A", is_nullable => 0, size => 1 }, { data_type => "varchar", default_value => "A", is_nullable => 0, size => 1 },
"blockexpiredpatronopacactions", "BlockExpiredPatronOpacActions",
{ data_type => "tinyint", default_value => -1, is_nullable => 0 }, {
accessor => "block_expired_patron_opac_actions",
data_type => "tinyint",
default_value => -1,
is_nullable => 0,
},
"default_privacy", "default_privacy",
{ {
data_type => "enum", data_type => "enum",
@ -247,8 +253,8 @@ __PACKAGE__->might_have(
); );
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-26 01:25:05 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7am0HIdPPQD5sZyKF4FipQ # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:T4i7vp1kAZFXy6DiV1dqyw
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -23,26 +23,30 @@ __PACKAGE__->table("collections");
=head1 ACCESSORS =head1 ACCESSORS
=head2 colid =head2 colId
accessor: 'col_id'
data_type: 'integer' data_type: 'integer'
is_auto_increment: 1 is_auto_increment: 1
is_nullable: 0 is_nullable: 0
=head2 coltitle =head2 colTitle
accessor: 'col_title'
data_type: 'varchar' data_type: 'varchar'
default_value: (empty string) default_value: (empty string)
is_nullable: 0 is_nullable: 0
size: 100 size: 100
=head2 coldesc =head2 colDesc
accessor: 'col_desc'
data_type: 'text' data_type: 'text'
is_nullable: 0 is_nullable: 0
=head2 colbranchcode =head2 colBranchcode
accessor: 'col_branchcode'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 4 size: 4
@ -52,31 +56,47 @@ branchcode for branch where item should be held.
=cut =cut
__PACKAGE__->add_columns( __PACKAGE__->add_columns(
"colid", "colId",
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, {
"coltitle", accessor => "col_id",
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 100 }, data_type => "integer",
"coldesc", is_auto_increment => 1,
{ data_type => "text", is_nullable => 0 }, is_nullable => 0,
"colbranchcode", },
{ data_type => "varchar", is_nullable => 1, size => 4 }, "colTitle",
{
accessor => "col_title",
data_type => "varchar",
default_value => "",
is_nullable => 0,
size => 100,
},
"colDesc",
{ accessor => "col_desc", data_type => "text", is_nullable => 0 },
"colBranchcode",
{
accessor => "col_branchcode",
data_type => "varchar",
is_nullable => 1,
size => 4,
},
); );
=head1 PRIMARY KEY =head1 PRIMARY KEY
=over 4 =over 4
=item * L</colid> =item * L</colId>
=back =back
=cut =cut
__PACKAGE__->set_primary_key("colid"); __PACKAGE__->set_primary_key("colId");
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KNJIC+I4OdfXBAPM8zOB4A # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4QFGZYwbv0aj6eXdn7vO9A
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -29,8 +29,9 @@ __PACKAGE__->table("collections_tracking");
is_auto_increment: 1 is_auto_increment: 1
is_nullable: 0 is_nullable: 0
=head2 colid =head2 colId
accessor: 'col_id'
data_type: 'integer' data_type: 'integer'
default_value: 0 default_value: 0
is_nullable: 0 is_nullable: 0
@ -50,8 +51,13 @@ items.itemnumber
__PACKAGE__->add_columns( __PACKAGE__->add_columns(
"collections_tracking_id", "collections_tracking_id",
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
"colid", "colId",
{ data_type => "integer", default_value => 0, is_nullable => 0 }, {
accessor => "col_id",
data_type => "integer",
default_value => 0,
is_nullable => 0,
},
"itemnumber", "itemnumber",
{ data_type => "integer", default_value => 0, is_nullable => 0 }, { data_type => "integer", default_value => 0, is_nullable => 0 },
); );
@ -69,8 +75,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("collections_tracking_id"); __PACKAGE__->set_primary_key("collections_tracking_id");
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aV5bgiXNrskXo+q+WLuwPg # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:s8ZFSmMJt313bz3XdlhITQ
# You can replace this text with custom code or comments, and it will be preserved on regeneration # You can replace this text with custom code or comments, and it will be preserved on regeneration

View file

@ -134,57 +134,67 @@ __PACKAGE__->table("deletedborrowers");
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_streetnumber =head2 B_streetnumber
accessor: 'b_streetnumber'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 10 size: 10
=head2 b_streettype =head2 B_streettype
accessor: 'b_streettype'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 50 size: 50
=head2 b_address =head2 B_address
accessor: 'b_address'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 100 size: 100
=head2 b_address2 =head2 B_address2
accessor: 'b_address2'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_city =head2 B_city
accessor: 'b_city'
data_type: 'mediumtext' data_type: 'mediumtext'
is_nullable: 1 is_nullable: 1
=head2 b_state =head2 B_state
accessor: 'b_state'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_zipcode =head2 B_zipcode
accessor: 'b_zipcode'
data_type: 'varchar' data_type: 'varchar'
is_nullable: 1 is_nullable: 1
size: 25 size: 25
=head2 b_country =head2 B_country
accessor: 'b_country'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_email =head2 B_email
accessor: 'b_email'
data_type: 'text' data_type: 'text'
is_nullable: 1 is_nullable: 1
=head2 b_phone =head2 B_phone
accessor: 'b_phone'
data_type: 'mediumtext' data_type: 'mediumtext'
is_nullable: 1 is_nullable: 1
@ -440,26 +450,46 @@ __PACKAGE__->add_columns(
{ data_type => "text", is_nullable => 1 }, { data_type => "text", is_nullable => 1 },
"phonepro", "phonepro",
{ data_type => "text", is_nullable => 1 }, { data_type => "text", is_nullable => 1 },
"b_streetnumber", "B_streetnumber",
{ data_type => "varchar", is_nullable => 1, size => 10 }, {
"b_streettype", accessor => "b_streetnumber",
{ data_type => "varchar", is_nullable => 1, size => 50 }, data_type => "varchar",
"b_address", is_nullable => 1,
{ data_type => "varchar", is_nullable => 1, size => 100 }, size => 10,
"b_address2", },
{ data_type => "text", is_nullable => 1 }, "B_streettype",
"b_city", {
{ data_type => "mediumtext", is_nullable => 1 }, accessor => "b_streettype",
"b_state", data_type => "varchar",
{ data_type => "text", is_nullable => 1 }, is_nullable => 1,
"b_zipcode", size => 50,
{ data_type => "varchar", is_nullable => 1, size => 25 }, },
"b_country", "B_address",
{ data_type => "text", is_nullable => 1 }, {
"b_email", accessor => "b_address",
{ data_type => "text", is_nullable => 1 }, data_type => "varchar",
"b_phone", is_nullable => 1,
{ data_type => "mediumtext", is_nullable => 1 }, size => 100,
},
"B_address2",
{ accessor => "b_address2", data_type => "text", is_nullable => 1 },
"B_city",
{ accessor => "b_city", data_type => "mediumtext", is_nullable => 1 },
"B_state",
{ accessor => "b_state", data_type => "text", is_nullable => 1 },
"B_zipcode",
{
accessor => "b_zipcode",
data_type => "varchar",
is_nullable => 1,
size => 25,
},
"B_country",
{ accessor => "b_country", data_type => "text", is_nullable => 1 },
"B_email",
{ accessor => "b_email", data_type => "text", is_nullable => 1 },
"B_phone",
{ accessor => "b_phone", data_type => "mediumtext", is_nullable => 1 },
"dateofbirth", "dateofbirth",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"branchcode", "branchcode",
@ -535,8 +565,8 @@ __PACKAGE__->add_columns(
); );
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yA/UeNpbYIUrX/iWsF0NLw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cRaxMYFjVG7JB7AvsdCweg
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -117,8 +117,9 @@ __PACKAGE__->table("old_reserves");
datetime_undef_if_invalid: 1 datetime_undef_if_invalid: 1
is_nullable: 1 is_nullable: 1
=head2 lowestpriority =head2 lowestPriority
accessor: 'lowest_priority'
data_type: 'tinyint' data_type: 'tinyint'
is_nullable: 0 is_nullable: 0
@ -174,8 +175,8 @@ __PACKAGE__->add_columns(
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"expirationdate", "expirationdate",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"lowestpriority", "lowestPriority",
{ data_type => "tinyint", is_nullable => 0 }, { accessor => "lowest_priority", data_type => "tinyint", is_nullable => 0 },
"suspend", "suspend",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, { data_type => "tinyint", default_value => 0, is_nullable => 0 },
"suspend_until", "suspend_until",
@ -261,8 +262,8 @@ __PACKAGE__->belongs_to(
); );
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CMfQmK2sJxQB0FBb0X12ug # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bCHe3BGidrVm0LIlC6h+ow
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -121,8 +121,9 @@ __PACKAGE__->table("reserves");
datetime_undef_if_invalid: 1 datetime_undef_if_invalid: 1
is_nullable: 1 is_nullable: 1
=head2 lowestpriority =head2 lowestPriority
accessor: 'lowest_priority'
data_type: 'tinyint' data_type: 'tinyint'
is_nullable: 0 is_nullable: 0
@ -188,8 +189,8 @@ __PACKAGE__->add_columns(
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"expirationdate", "expirationdate",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"lowestpriority", "lowestPriority",
{ data_type => "tinyint", is_nullable => 0 }, { accessor => "lowest_priority", data_type => "tinyint", is_nullable => 0 },
"suspend", "suspend",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, { data_type => "tinyint", default_value => 0, is_nullable => 0 },
"suspend_until", "suspend_until",
@ -285,8 +286,8 @@ __PACKAGE__->belongs_to(
); );
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ig/fobzvZf1OgAHZFtkyyQ # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jzng9D1Pns0I2PUF7Wssiw
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"item", "item",

View file

@ -74,8 +74,9 @@ __PACKAGE__->table("suggestions");
datetime_undef_if_invalid: 1 datetime_undef_if_invalid: 1
is_nullable: 1 is_nullable: 1
=head2 status =head2 STATUS
accessor: 'status'
data_type: 'varchar' data_type: 'varchar'
default_value: (empty string) default_value: (empty string)
is_nullable: 0 is_nullable: 0
@ -227,8 +228,14 @@ __PACKAGE__->add_columns(
{ data_type => "integer", is_nullable => 1 }, { data_type => "integer", is_nullable => 1 },
"rejecteddate", "rejecteddate",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"status", "STATUS",
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, {
accessor => "status",
data_type => "varchar",
default_value => "",
is_nullable => 0,
size => 10,
},
"note", "note",
{ data_type => "mediumtext", is_nullable => 1 }, { data_type => "mediumtext", is_nullable => 1 },
"author", "author",
@ -293,8 +300,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("suggestionid"); __PACKAGE__->set_primary_key("suggestionid");
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-12-13 01:10:43 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LJoqZVAeoZ0ra2BKxXRQMQ # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tMbXZ1id2ls57UMp5jicFA
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration