From 7df384c17dfce72f58b8bc02dae8b7c663231894 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 22 Dec 2014 05:58:09 -0500 Subject: [PATCH] Bug 11431: DBIC update schema Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer --- Koha/Schema/Result/AudioAlert.pm | 81 ++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) 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 0000000000..696040be26 --- /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; -- 2.39.5