/usr/local/CPAN/Parley/Parley/Schema/RegistrationAuthentication.pm
package Parley::Schema::RegistrationAuthentication;
# Created by DBIx::Class::Schema::Loader v0.03004 @ 2006-08-10 09:12:24
use strict;
use warnings;
use Parley::Version; our $VERSION = $Parley::VERSION;
use base 'DBIx::Class';
__PACKAGE__->load_components("PK::Auto", "Core");
__PACKAGE__->table("parley.registration_authentication");
__PACKAGE__->add_columns(
"id" => {
data_type => "text",
default_value => undef,
is_nullable => 0,
size => undef,
},
"recipient_id" => {
data_type => "integer",
default_value => undef,
is_nullable => 0,
size => 4
},
"expires" => {
data_type => "date",
default_value => undef,
is_nullable => 1,
size => 4
},
);
__PACKAGE__->set_primary_key("id");
__PACKAGE__->belongs_to(
"recipient" => "Person",
{ 'foreign.id' => "self.recipient_id" });
1;