1use utf8; 2package App::Netdisco::DB::Result::NetmapPositions; 3 4use strict; 5use warnings; 6 7use base 'App::Netdisco::DB::Result'; 8__PACKAGE__->table("netmap_positions"); 9__PACKAGE__->add_columns( 10 "id", 11 { data_type => "integer", is_nullable => 0, is_auto_increment => 1 }, 12 "device", 13 { data_type => "inet", is_nullable => 1 }, 14 "host_groups", 15 { data_type => "text[]", is_nullable => 0 }, 16 "locations", 17 { data_type => "text[]", is_nullable => 0 }, 18 "vlan", 19 { data_type => "integer", is_nullable => 0, default => 0 }, 20 "positions", 21 { data_type => "text", is_nullable => 0 }, 22); 23 24__PACKAGE__->set_primary_key("id"); 25 261; 27