hydra/src/lib/Hydra/Schema/CachedPathInputs.pm

97 lines
1.4 KiB
Perl
Raw Normal View History

use utf8;
package Hydra::Schema::CachedPathInputs;
2008-11-25 18:13:55 +00:00
2009-10-23 15:05:16 +00:00
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
Hydra::Schema::CachedPathInputs
=cut
2008-11-25 18:13:55 +00:00
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 COMPONENTS LOADED
=over 4
=item * L<Hydra::Component::ToJSON>
=back
=cut
__PACKAGE__->load_components("+Hydra::Component::ToJSON");
=head1 TABLE: C<CachedPathInputs>
=cut
2008-11-25 18:13:55 +00:00
__PACKAGE__->table("CachedPathInputs");
=head1 ACCESSORS
=head2 srcpath
data_type: 'text'
is_nullable: 0
=head2 timestamp
data_type: 'integer'
is_nullable: 0
=head2 lastseen
data_type: 'integer'
is_nullable: 0
=head2 sha256hash
data_type: 'text'
is_nullable: 0
=head2 storepath
data_type: 'text'
is_nullable: 0
=cut
2008-11-25 18:13:55 +00:00
__PACKAGE__->add_columns(
"srcpath",
{ data_type => "text", is_nullable => 0 },
2008-11-25 18:13:55 +00:00
"timestamp",
{ data_type => "integer", is_nullable => 0 },
2008-11-25 18:13:55 +00:00
"lastseen",
{ data_type => "integer", is_nullable => 0 },
2008-11-25 18:13:55 +00:00
"sha256hash",
{ data_type => "text", is_nullable => 0 },
2008-11-25 18:13:55 +00:00
"storepath",
{ data_type => "text", is_nullable => 0 },
2008-11-25 18:13:55 +00:00
);
=head1 PRIMARY KEY
=over 4
=item * L</srcpath>
=item * L</sha256hash>
=back
=cut
2008-11-25 18:13:55 +00:00
__PACKAGE__->set_primary_key("srcpath", "sha256hash");
# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-06-13 01:54:50
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:28rja0vR1glJJ15hzVfjsQ
2008-11-25 18:13:55 +00:00
1;