Foorum::Schema::Stat - Table 'stat'


Foorum documentation Contained in the Foorum distribution.

Index


Code Index:

NAME

Top

Foorum::Schema::Stat - Table 'stat'

COLUMNS

Top

stat_id

INT(11)

NOT NULL, PRIMARY KEY

stat_key

VARCHAR(255)

NOT NULL

stat_value

BIGINT(21)

NOT NULL

date

INT(8)

NOT NULL

AUTHOR

Top

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__