2011-12-05 14:29:29 +01:00
|
|
|
use utf8;
|
2008-12-16 16:26:33 +00:00
|
|
|
package Hydra::Schema::BuildInputs;
|
2008-11-05 06:23:41 +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
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
Hydra::Schema::BuildInputs
|
|
|
|
|
|
|
|
=cut
|
|
|
|
|
2008-11-05 06:23:41 +00:00
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
2010-02-25 09:50:04 +00:00
|
|
|
use base 'DBIx::Class::Core';
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=head1 TABLE: C<BuildInputs>
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=cut
|
2008-11-05 06:23:41 +00:00
|
|
|
|
2008-11-11 12:54:37 +00:00
|
|
|
__PACKAGE__->table("BuildInputs");
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=head1 ACCESSORS
|
|
|
|
|
|
|
|
=head2 id
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'integer'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_auto_increment: 1
|
|
|
|
is_nullable: 0
|
|
|
|
|
|
|
|
=head2 build
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'integer'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_foreign_key: 1
|
|
|
|
is_nullable: 1
|
|
|
|
|
|
|
|
=head2 name
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 0
|
|
|
|
|
|
|
|
=head2 type
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 0
|
|
|
|
|
|
|
|
=head2 uri
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 1
|
|
|
|
|
|
|
|
=head2 revision
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 1
|
|
|
|
|
|
|
|
=head2 tag
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 1
|
|
|
|
|
|
|
|
=head2 value
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 1
|
|
|
|
|
|
|
|
=head2 dependency
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'integer'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_foreign_key: 1
|
|
|
|
is_nullable: 1
|
|
|
|
|
|
|
|
=head2 path
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 1
|
|
|
|
|
|
|
|
=head2 sha256hash
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 1
|
|
|
|
|
|
|
|
=cut
|
|
|
|
|
2008-11-05 06:23:41 +00:00
|
|
|
__PACKAGE__->add_columns(
|
2008-11-09 00:48:36 +00:00
|
|
|
"id",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
|
2008-11-09 00:48:36 +00:00
|
|
|
"build",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
|
2008-11-05 06:23:41 +00:00
|
|
|
"name",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_nullable => 0 },
|
2008-11-05 06:23:41 +00:00
|
|
|
"type",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_nullable => 0 },
|
2008-11-05 06:23:41 +00:00
|
|
|
"uri",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2008-11-05 06:23:41 +00:00
|
|
|
"revision",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2008-11-05 06:23:41 +00:00
|
|
|
"tag",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2008-11-09 00:48:36 +00:00
|
|
|
"value",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2008-11-09 00:48:36 +00:00
|
|
|
"dependency",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
|
2008-11-05 23:08:16 +00:00
|
|
|
"path",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2008-11-12 23:14:57 +00:00
|
|
|
"sha256hash",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2008-11-05 06:23:41 +00:00
|
|
|
);
|
2011-12-05 14:29:29 +01:00
|
|
|
|
|
|
|
=head1 PRIMARY KEY
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item * L</id>
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=cut
|
|
|
|
|
2008-11-09 00:48:36 +00:00
|
|
|
__PACKAGE__->set_primary_key("id");
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=head1 RELATIONS
|
|
|
|
|
|
|
|
=head2 build
|
|
|
|
|
|
|
|
Type: belongs_to
|
|
|
|
|
|
|
|
Related object: L<Hydra::Schema::Builds>
|
|
|
|
|
|
|
|
=cut
|
|
|
|
|
2009-07-07 13:59:59 +00:00
|
|
|
__PACKAGE__->belongs_to(
|
|
|
|
"build",
|
|
|
|
"Hydra::Schema::Builds",
|
|
|
|
{ id => "build" },
|
2009-10-23 15:05:16 +00:00
|
|
|
{ join_type => "LEFT" },
|
2009-07-07 13:59:59 +00:00
|
|
|
);
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=head2 dependency
|
|
|
|
|
|
|
|
Type: belongs_to
|
|
|
|
|
|
|
|
Related object: L<Hydra::Schema::Builds>
|
|
|
|
|
|
|
|
=cut
|
|
|
|
|
2009-07-07 13:59:59 +00:00
|
|
|
__PACKAGE__->belongs_to(
|
|
|
|
"dependency",
|
|
|
|
"Hydra::Schema::Builds",
|
|
|
|
{ id => "dependency" },
|
2009-10-23 15:05:16 +00:00
|
|
|
{ join_type => "LEFT" },
|
2009-07-07 13:59:59 +00:00
|
|
|
);
|
2008-11-05 06:23:41 +00:00
|
|
|
|
2009-05-09 16:10:50 +00:00
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07014 @ 2011-12-05 14:15:43
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yaqa9gcGx9Z+Nfr3xgX28g
|
2008-11-05 06:23:41 +00:00
|
|
|
|
|
|
|
1;
|