File: networkAC.pm

package info (click to toggle)
haci 0.98c-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,240 kB
  • sloc: perl: 23,790; javascript: 1,817; sh: 225; makefile: 8
file content (28 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package HaCi::Tables::postgresql::networkAC;
use base 'DBIEasy::postgresql';

sub TABLE { #Table Name
	'network_ac'
}

sub SETUPTABLE { # Create Table unless it doesn't exists?
	0
}

sub CREATETABLE { # Table Create Definition
}

sub columnMapping { # map DBIEasy methods to table column names
	{
		ID				=> 'id',
		rootID		=> 'root_id',
		network		=> 'network',
		netID			=> 'net_id',
		groupID		=> 'group_id',
		ACL				=> 'acl'
	}
}

1;

# vim:ts=2:sw=2:sws=2