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 29
|
package HaCi::Tables::postgresql::template;
use base 'DBIEasy::postgresql';
sub TABLE { #Table Name
'template'
}
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',
name => 'name',
type => 'type',
createFrom => 'create_from',
createDate => 'create_date',
modifyFrom => 'modify_from',
modifyDate => 'modify_date',
}
}
1;
# vim:ts=2:sw=2:sws=2
|