| Foorum documentation | Contained in the Foorum distribution. |
Foorum::Schema::BannedIp - Table 'banned_ip'
INT(11)
NOT NULL, PRIMARY KEY
VARCHAR(20)
NOT NULL
INT(11)
NOT NULL
Fayland Lam <fayland at gmail.com>
| Foorum documentation | Contained in the Foorum distribution. |
package Foorum::Schema::BannedIp; use strict; use warnings; our $VERSION = '1.001000'; use base 'DBIx::Class'; __PACKAGE__->load_components(qw/Core/); __PACKAGE__->table('banned_ip'); __PACKAGE__->add_columns( 'ip_id', { data_type => 'INT', default_value => undef, is_nullable => 0, size => 11 }, 'cidr_ip', { data_type => 'VARCHAR', default_value => '', is_nullable => 0, size => 20 }, 'time', { data_type => 'INT', default_value => 0, is_nullable => 0, size => 11 }, ); __PACKAGE__->set_primary_key('ip_id'); __PACKAGE__->resultset_class('Foorum::ResultSet::BannedIp'); 1; __END__