From 018a15003e83b443f5f4594d440cf57647c88d25 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 22 Dec 2014 05:58:09 -0500 Subject: [PATCH] Bug 11431 [3] - Update schema Signed-off-by: Nick Clemens --- Koha/Schema/Result/AudioAlert.pm | 81 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 81 insertions(+), 0 deletions(-) create mode 100644 Koha/Schema/Result/AudioAlert.pm diff --git a/Koha/Schema/Result/AudioAlert.pm b/Koha/Schema/Result/AudioAlert.pm new file mode 100644 index 0000000..696040b --- /dev/null +++ b/Koha/Schema/Result/AudioAlert.pm @@ -0,0 +1,81 @@ +use utf8; +package Koha::Schema::Result::AudioAlert; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +=head1 NAME + +Koha::Schema::Result::AudioAlert + +=cut + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + +=head1 TABLE: C + +=cut + +__PACKAGE__->table("audio_alerts"); + +=head1 ACCESSORS + +=head2 audio_alert_id + + data_type: 'integer' + is_auto_increment: 1 + is_nullable: 0 + +=head2 precedence + + data_type: 'smallint' + extra: {unsigned => 1} + is_nullable: 0 + +=head2 selector + + data_type: 'varchar' + is_nullable: 0 + size: 255 + +=head2 sound + + data_type: 'varchar' + is_nullable: 0 + size: 255 + +=cut + +__PACKAGE__->add_columns( + "audio_alert_id", + { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, + "precedence", + { data_type => "smallint", extra => { unsigned => 1 }, is_nullable => 0 }, + "selector", + { data_type => "varchar", is_nullable => 0, size => 255 }, + "sound", + { data_type => "varchar", is_nullable => 0, size => 255 }, +); + +=head1 PRIMARY KEY + +=over 4 + +=item * L + +=back + +=cut + +__PACKAGE__->set_primary_key("audio_alert_id"); + + +# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-12-22 01:04:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yIXpJMcpovBDl3bBVrwLqg + + +# You can replace this text with custom code or comments, and it will be preserved on regeneration +1; -- 1.7.2.5