@@ -, +, @@ categories description (not added by this patch) should now be already there --- .../mysql/atomicupdate/bug_33004_VENDOR_TYPE_AV.pl | 12 ++++++++++++ installer/data/mysql/mandatory/auth_val_cat.sql | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100755 installer/data/mysql/atomicupdate/bug_33004_VENDOR_TYPE_AV.pl --- a/installer/data/mysql/atomicupdate/bug_33004_VENDOR_TYPE_AV.pl +++ a/installer/data/mysql/atomicupdate/bug_33004_VENDOR_TYPE_AV.pl @@ -0,0 +1,12 @@ +use Modern::Perl; + +return { + bug_number => "33004", + description => "Add VENDOR_TYPE authorised value category", + up => sub { + my ($args) = @_; + my ($dbh, $out) = @$args{qw(dbh out)}; + $dbh->do(q{INSERT IGNORE INTO authorised_value_categories (category_name, is_system) VALUES ('VENDOR_TYPE', 1)}); + say $out "Added new authorised value category 'VENDOR_TYPE'"; + }, +}; --- a/installer/data/mysql/mandatory/auth_val_cat.sql +++ a/installer/data/mysql/mandatory/auth_val_cat.sql @@ -19,7 +19,8 @@ INSERT IGNORE INTO authorised_value_categories( category_name, is_system ) ('PA_CLASS', 0), ('HOLD_CANCELLATION', 0), ('ROADTYPE', 0), - ('AR_CANCELLATION', 0); + ('AR_CANCELLATION', 0), + ('VENDOR_TYPE', 1); INSERT IGNORE INTO authorised_value_categories( category_name, is_system ) VALUES --