App-TemplateCMD

 view release on metacpan or  search on metacpan

templates/perl/dbic/table.pm  view on Meta::CPAN

# Created on: [% date %] [% time %]
# Create by:  [% contact.fullname or user %]
# $Id$
# $Revision$, $HeadURL$, $Date$
# $Revision$, $Source$, $Date$

use strict;
use warnings;
use base qw/DBIx::Class::Core/;

__PACKAGE__->load_components('InflateColumn::DateTime', 'Core');
# or ordered columns
#__PACKAGE__->load_components(qw/ Ordered /);
#__PACKAGE__->position_column('rank');

__PACKAGE__->table('[% table %]');

__PACKAGE__->add_columns(
[%- FOREACH column = columns %]
    '[% column %]' => {
        data_type         => 'integer',



( run in 0.261 second using v1.01-cache-2.11-cpan-05444aca049 )