Bug 30498: Corresponding DBIx change for SearchField

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle Hall 2022-04-15 08:13:00 -04:00
parent ccc218b04d
commit b2a51ba5d7
1 changed files with 14 additions and 4 deletions

View File

@ -48,7 +48,7 @@ the human readable name of the field, for display
=head2 type
data_type: 'enum'
extra: {list => ["","string","date","number","boolean","sum","isbn","stdno"]}
extra: {list => ["","string","date","number","boolean","sum","isbn","stdno","year"]}
is_nullable: 0
what type of data this holds, relevant when storing it in the search engine
@ -98,7 +98,17 @@ __PACKAGE__->add_columns(
{
data_type => "enum",
extra => {
list => ["", "string", "date", "number", "boolean", "sum", "isbn", "stdno"],
list => [
"",
"string",
"date",
"number",
"boolean",
"sum",
"isbn",
"stdno",
"year",
],
},
is_nullable => 0,
},
@ -158,8 +168,8 @@ __PACKAGE__->has_many(
);
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-10-16 14:32:53
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HBEJWxqos7/LzD/QzTi45Q
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-15 12:12:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M46wdFQLun0BCrgGkV/K7g
__PACKAGE__->add_columns(
'+mandatory' => { is_boolean => 1 },