The singleton table SchemaVersion contains the current version of the Hydra database schema. This can be used to upgrade the schema on the fly. Also reran the DBIx::Class schema loader.
85 lines
1.2 KiB
Perl
85 lines
1.2 KiB
Perl
use utf8;
|
|
package Hydra::Schema::CachedPathInputs;
|
|
|
|
# Created by DBIx::Class::Schema::Loader
|
|
# DO NOT MODIFY THE FIRST PART OF THIS FILE
|
|
|
|
=head1 NAME
|
|
|
|
Hydra::Schema::CachedPathInputs
|
|
|
|
=cut
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use base 'DBIx::Class::Core';
|
|
|
|
=head1 TABLE: C<CachedPathInputs>
|
|
|
|
=cut
|
|
|
|
__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
|
|
|
|
__PACKAGE__->add_columns(
|
|
"srcpath",
|
|
{ data_type => "text", is_nullable => 0 },
|
|
"timestamp",
|
|
{ data_type => "integer", is_nullable => 0 },
|
|
"lastseen",
|
|
{ data_type => "integer", is_nullable => 0 },
|
|
"sha256hash",
|
|
{ data_type => "text", is_nullable => 0 },
|
|
"storepath",
|
|
{ data_type => "text", is_nullable => 0 },
|
|
);
|
|
|
|
=head1 PRIMARY KEY
|
|
|
|
=over 4
|
|
|
|
=item * L</srcpath>
|
|
|
|
=item * L</sha256hash>
|
|
|
|
=back
|
|
|
|
=cut
|
|
|
|
__PACKAGE__->set_primary_key("srcpath", "sha256hash");
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07014 @ 2011-12-05 14:15:43
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4KzXhMnUldVgNuuNXWIYjw
|
|
|
|
1;
|