generated schema with new dbix class schema loader, grrrrrr

This commit is contained in:
Rob Vermaas
2010-02-25 09:50:04 +00:00
parent 87ea0cb2b9
commit 4dccd3c620
23 changed files with 2043 additions and 301 deletions

View File

@@ -6,10 +6,99 @@ package Hydra::Schema::BuildSteps;
use strict;
use warnings;
use base 'DBIx::Class';
use base 'DBIx::Class::Core';
=head1 NAME
Hydra::Schema::BuildSteps
=cut
__PACKAGE__->load_components("Core");
__PACKAGE__->table("BuildSteps");
=head1 ACCESSORS
=head2 build
data_type: integer
default_value: undef
is_foreign_key: 1
is_nullable: 0
size: undef
=head2 stepnr
data_type: integer
default_value: undef
is_nullable: 0
size: undef
=head2 type
data_type: integer
default_value: undef
is_nullable: 0
size: undef
=head2 drvpath
data_type: text
default_value: undef
is_nullable: 1
size: undef
=head2 outpath
data_type: text
default_value: undef
is_nullable: 1
size: undef
=head2 logfile
data_type: text
default_value: undef
is_nullable: 1
size: undef
=head2 busy
data_type: integer
default_value: undef
is_nullable: 0
size: undef
=head2 status
data_type: integer
default_value: undef
is_nullable: 1
size: undef
=head2 errormsg
data_type: text
default_value: undef
is_nullable: 1
size: undef
=head2 starttime
data_type: integer
default_value: undef
is_nullable: 1
size: undef
=head2 stoptime
data_type: integer
default_value: undef
is_nullable: 1
size: undef
=cut
__PACKAGE__->add_columns(
"build",
{
@@ -91,10 +180,21 @@ __PACKAGE__->add_columns(
},
);
__PACKAGE__->set_primary_key("build", "stepnr");
__PACKAGE__->belongs_to("build", "Hydra::Schema::Builds", { id => "build" });
=head1 RELATIONS
=head2 build
Type: belongs_to
Related object: L<Hydra::Schema::Builds>
=cut
__PACKAGE__->belongs_to("build", "Hydra::Schema::Builds", { id => "build" }, {});
# Created by DBIx::Class::Schema::Loader v0.04999_09 @ 2009-11-17 16:04:13
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5iUdHsNyEoM3D7i+tSteBQ
# Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-02-25 10:29:41
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:233eydU0CA3zcJpwDrtwwA
1;