1use utf8;
2package App::Netdisco::DB::Result::Statistics;
3
4use strict;
5use warnings;
6
7use base 'App::Netdisco::DB::Result';
8__PACKAGE__->table("statistics");
9__PACKAGE__->add_columns(
10  "day",
11  { data_type => "date", default_value => \"CURRENT_DATE", is_nullable => 0 },
12  "device_count",
13  { data_type => "integer", is_nullable => 0 },
14  "device_ip_count",
15  { data_type => "integer", is_nullable => 0 },
16  "device_link_count",
17  { data_type => "integer", is_nullable => 0 },
18  "device_port_count",
19  { data_type => "integer", is_nullable => 0 },
20  "device_port_up_count",
21  { data_type => "integer", is_nullable => 0 },
22  "ip_table_count",
23  { data_type => "integer", is_nullable => 0 },
24  "ip_active_count",
25  { data_type => "integer", is_nullable => 0 },
26  "node_table_count",
27  { data_type => "integer", is_nullable => 0 },
28  "node_active_count",
29  { data_type => "integer", is_nullable => 0 },
30  "netdisco_ver",
31  { data_type => "text", is_nullable => 1 },
32  "snmpinfo_ver",
33  { data_type => "text", is_nullable => 1 },
34  "schema_ver",
35  { data_type => "text", is_nullable => 1 },
36  "perl_ver",
37  { data_type => "text", is_nullable => 1 },
38  "pg_ver",
39  { data_type => "text", is_nullable => 1 },
40);
41
42__PACKAGE__->set_primary_key("day");
43
441;
45