| Foorum documentation | Contained in the Foorum distribution. |
Foorum::Schema::Stat - Table 'stat'
INT(11)
NOT NULL, PRIMARY KEY
VARCHAR(255)
NOT NULL
BIGINT(21)
NOT NULL
INT(8)
NOT NULL
Fayland Lam <fayland at gmail.com>
| Foorum documentation | Contained in the Foorum distribution. |
package Foorum::Schema::Stat; use strict; use warnings; our $VERSION = '1.001000'; use base 'DBIx::Class'; __PACKAGE__->load_components('Core'); __PACKAGE__->table('stat'); __PACKAGE__->add_columns( 'stat_id', { data_type => 'INT', default_value => undef, is_nullable => 0, size => 11 }, 'stat_key', { data_type => 'VARCHAR', default_value => undef, is_nullable => 0, size => 255, }, 'stat_value', { data_type => 'BIGINT', default_value => 0, is_nullable => 0, size => 21 }, 'date', { data_type => 'INT', default_value => 0, is_nullable => 0, size => 8 }, ); __PACKAGE__->set_primary_key('stat_id'); 1; __END__