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

44 lines
1.3 KiB
Perl
Raw Normal View History

package Hydra::Schema::BuildProducts;
use strict;
use warnings;
use base 'DBIx::Class';
__PACKAGE__->load_components("Core");
2008-11-11 12:54:37 +00:00
__PACKAGE__->table("BuildProducts");
__PACKAGE__->add_columns(
2008-11-09 00:48:36 +00:00
"build",
{ data_type => "integer", is_nullable => 0, size => undef },
2008-11-12 14:29:32 +00:00
"productnr",
{ data_type => "integer", is_nullable => 0, size => undef },
"type",
{ data_type => "text", is_nullable => 0, size => undef },
"subtype",
{ data_type => "text", is_nullable => 0, size => undef },
2008-11-12 14:29:32 +00:00
"filesize",
{ data_type => "integer", is_nullable => 0, size => undef },
"sha1hash",
{ data_type => "text", is_nullable => 0, size => undef },
"sha256hash",
{ data_type => "text", is_nullable => 0, size => undef },
"path",
{ data_type => "text", is_nullable => 0, size => undef },
"name",
{ data_type => "text", is_nullable => 0, size => undef },
"description",
{ data_type => "text", is_nullable => 0, size => undef },
"defaultpath",
{ data_type => "text", is_nullable => 0, size => undef },
);
2008-11-12 14:29:32 +00:00
__PACKAGE__->set_primary_key("build", "productnr");
2008-11-25 11:01:42 +00:00
__PACKAGE__->belongs_to("build", "Hydra::Schema::Builds", { id => "build" });
2009-03-13 14:49:25 +00:00
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-13 13:33:20
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wnnwDGQMGr2YAu++PYRSuA
# You can replace this text with custom content, and it will be preserved on regeneration
1;