Files
netdisco/lib/App/Netdisco/DB.pm
Oliver Gorwits e52f789b45 #1009 neighbour map depth and/or until end of lldp chains
* sidebar and style changes

* switch server code to new params and values

* working algo for cloud and neighbor depth

* store map positions for lldp cloud with depth

* color the root node uniquely

* restrict all devices, depth, cloud map to < 1000 devices
2023-11-09 19:54:34 +00:00

30 lines
619 B
Perl

use utf8;
package App::Netdisco::DB;
use strict;
use warnings;
use base 'DBIx::Class::Schema';
__PACKAGE__->load_namespaces(
default_resultset_class => 'ResultSet',
);
our # try to hide from kwalitee
$VERSION = 84; # schema version used for upgrades, keep as integer
use Path::Class;
use File::ShareDir 'dist_dir';
our $schema_versions_dir = Path::Class::Dir->new( dist_dir('App-Netdisco') )
->subdir('schema_versions')->stringify;
__PACKAGE__->load_components(qw/
+App::Netdisco::DB::SchemaVersioned
+App::Netdisco::DB::ExplicitLocking
/);
__PACKAGE__->upgrade_directory($schema_versions_dir);
1;