Foorum::Schema::Hit - Table 'hit'


Foorum documentation Contained in the Foorum distribution.

Index


Code Index:

NAME

Top

Foorum::Schema::Hit - Table 'hit'

COLUMNS

Top

hit_id

INT(11)

NOT NULL, PRIMARY KEY

object_type

VARCHAR(12)

NOT NULL

object_id

INT(11)

NOT NULL

hit_new

INT(11)

NOT NULL

hit_today

INT(11)

NOT NULL

hit_yesterday

INT(11)

NOT NULL

hit_weekly

INT(11)

NOT NULL

hit_monthly

INT(11)

NOT NULL

hit_all

INT(11)

NOT NULL

last_update_time

INT(11)

NOT NULL

AUTHOR

Top

Fayland Lam <fayland at gmail.com>


Foorum documentation Contained in the Foorum distribution.

package Foorum::Schema::Hit;

use strict;
use warnings;
our $VERSION = '1.001000';
use base 'DBIx::Class';

__PACKAGE__->load_components(qw/Core/);
__PACKAGE__->table('hit');
__PACKAGE__->add_columns(
    'hit_id',
    {   data_type     => 'INT',
        default_value => undef,
        is_nullable   => 0,
        size          => 11
    },
    'object_type',
    {   data_type     => 'VARCHAR',
        default_value => undef,
        is_nullable   => 0,
        size          => 12,
    },
    'object_id',
    { data_type => 'INT', default_value => 0, is_nullable => 0, size => 11 },
    'hit_new',
    { data_type => 'INT', default_value => 0, is_nullable => 0, size => 11 },
    'hit_today',
    { data_type => 'INT', default_value => 0, is_nullable => 0, size => 11 },
    'hit_yesterday',
    { data_type => 'INT', default_value => 0, is_nullable => 0, size => 11 },
    'hit_weekly',
    { data_type => 'INT', default_value => 0, is_nullable => 0, size => 11 },
    'hit_monthly',
    { data_type => 'INT', default_value => 0, is_nullable => 0, size => 11 },
    'hit_all',
    { data_type => 'INT', default_value => 0, is_nullable => 0, size => 11 },
    'last_update_time',
    { data_type => 'INT', default_value => 0, is_nullable => 0, size => 11 },
);
__PACKAGE__->set_primary_key('hit_id');

__PACKAGE__->resultset_class('Foorum::ResultSet::Hit');

1;
__END__