Files
netdisco/lib/App/Netdisco/DB/Result/DeviceSkip.pm
2017-05-23 08:26:59 +01:00

24 lines
590 B
Perl

use utf8;
package App::Netdisco::DB::Result::DeviceSkip;
use strict;
use warnings;
use base 'DBIx::Class::Core';
__PACKAGE__->table("device_skip");
__PACKAGE__->add_columns(
"backend",
{ data_type => "text", is_nullable => 0 },
"device",
{ data_type => "inet", is_nullable => 0 },
"action",
{ data_type => "text", is_nullable => 0 },
"deferrals",
{ data_type => "integer", is_nullable => 1, default_value => '0' },
"skipover",
{ data_type => "boolean", is_nullable => 1, default_value => \'false' },
);
__PACKAGE__->set_primary_key("backend", "device", "action");
1;