Merge pull request #1007 from DeterminateSystems/resultset-class-namespaces

DBIx::Class: migrate to use_namespaces
This commit is contained in:
Graham Christensen 2021-08-26 16:30:07 -04:00 committed by GitHub
commit f81905fce4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 292 additions and 289 deletions

View file

@ -9,11 +9,11 @@ use warnings;
use base 'DBIx::Class::Schema'; use base 'DBIx::Class::Schema';
__PACKAGE__->load_classes; __PACKAGE__->load_namespaces;
# Created by DBIx::Class::Schema::Loader v0.07014 @ 2011-12-05 14:08:56 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BpPjKT5Pb1RYMHo+oKdZ+w # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SW2xMZ1YBA/LJSnP+ClOfA
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::AggregateConstituents; package Hydra::Schema::Result::AggregateConstituents;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::AggregateConstituents Hydra::Schema::Result::AggregateConstituents
=cut =cut
@ -76,13 +76,13 @@ __PACKAGE__->set_primary_key("aggregate", "constituent");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"aggregate", "aggregate",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "aggregate" }, { id => "aggregate" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
@ -91,20 +91,20 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"constituent", "constituent",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "constituent" }, { id => "constituent" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bQfQoSstlaFy7zw8i1R+ow # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ksBE6gQqcu58rdZfbqEK/w
# You can replace this text with custom code or comments, and it will be preserved on regeneration # You can replace this text with custom code or comments, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::BuildInputs; package Hydra::Schema::Result::BuildInputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::BuildInputs Hydra::Schema::Result::BuildInputs
=cut =cut
@ -145,13 +145,13 @@ __PACKAGE__->set_primary_key("id");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"build", "build",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "build" }, { id => "build" },
{ {
is_deferrable => 0, is_deferrable => 0,
@ -165,13 +165,13 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"dependency", "dependency",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "dependency" }, { id => "dependency" },
{ {
is_deferrable => 0, is_deferrable => 0,
@ -182,8 +182,8 @@ __PACKAGE__->belongs_to(
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/Fwb8emBsvwrZlEab2X+gQ # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IBNdR4VPMGusDQex5omT+g
my %hint = ( my %hint = (
columns => [ columns => [

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::BuildMetrics; package Hydra::Schema::Result::BuildMetrics;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::BuildMetrics Hydra::Schema::Result::BuildMetrics
=cut =cut
@ -119,13 +119,13 @@ __PACKAGE__->set_primary_key("build", "name");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"build", "build",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "build" }, { id => "build" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
@ -134,13 +134,13 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Jobsets> Related object: L<Hydra::Schema::Result::Jobsets>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"jobset", "jobset",
"Hydra::Schema::Jobsets", "Hydra::Schema::Result::Jobsets",
{ name => "jobset", project => "project" }, { name => "jobset", project => "project" },
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "NO ACTION", on_update => "CASCADE" },
); );
@ -149,20 +149,20 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Projects> Related object: L<Hydra::Schema::Result::Projects>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"project", "project",
"Hydra::Schema::Projects", "Hydra::Schema::Result::Projects",
{ name => "project" }, { name => "project" },
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "NO ACTION", on_update => "CASCADE" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-05-27 17:40:41 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AYUVs6RdefFKw+g9Yxcu/A # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yp/kl6bkrm/CSEle7Y3How
sub json_hint { sub json_hint {
return { columns => ['value', 'unit'] }; return { columns => ['value', 'unit'] };

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::BuildOutputs; package Hydra::Schema::Result::BuildOutputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::BuildOutputs Hydra::Schema::Result::BuildOutputs
=cut =cut
@ -82,20 +82,20 @@ __PACKAGE__->set_primary_key("build", "name");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"build", "build",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "build" }, { id => "build" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:71R9clwAP6vzDh10EukTaw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gU+kZ6A0ISKpaXGRGve8mg
my %hint = ( my %hint = (
columns => [ columns => [

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::BuildProducts; package Hydra::Schema::Result::BuildProducts;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::BuildProducts Hydra::Schema::Result::BuildProducts
=cut =cut
@ -124,20 +124,20 @@ __PACKAGE__->set_primary_key("build", "productnr");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"build", "build",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "build" }, { id => "build" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-07-27 18:21:03 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O4R8b/GukNaUmmAErb3Jlw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6vyZPg5I2zbgpw1a6JsVjw
my %hint = ( my %hint = (
columns => [ columns => [

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::BuildStepOutputs; package Hydra::Schema::Result::BuildStepOutputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::BuildStepOutputs Hydra::Schema::Result::BuildStepOutputs
=cut =cut
@ -92,13 +92,13 @@ __PACKAGE__->set_primary_key("build", "stepnr", "name");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"build", "build",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "build" }, { id => "build" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
@ -107,20 +107,20 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::BuildSteps> Related object: L<Hydra::Schema::Result::BuildSteps>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"buildstep", "buildstep",
"Hydra::Schema::BuildSteps", "Hydra::Schema::Result::BuildSteps",
{ build => "build", stepnr => "stepnr" }, { build => "build", stepnr => "stepnr" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Y6DpbTM6z4cOGoYIhD3i1A # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gxp8rOjpRVen4YbIjomHTw
# You can replace this text with custom code or comments, and it will be preserved on regeneration # You can replace this text with custom code or comments, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::BuildSteps; package Hydra::Schema::Result::BuildSteps;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::BuildSteps Hydra::Schema::Result::BuildSteps
=cut =cut
@ -168,13 +168,13 @@ __PACKAGE__->set_primary_key("build", "stepnr");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"build", "build",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "build" }, { id => "build" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
@ -183,13 +183,13 @@ __PACKAGE__->belongs_to(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::BuildStepOutputs> Related object: L<Hydra::Schema::Result::BuildStepOutputs>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildstepoutputs", "buildstepoutputs",
"Hydra::Schema::BuildStepOutputs", "Hydra::Schema::Result::BuildStepOutputs",
{ "foreign.build" => "self.build", "foreign.stepnr" => "self.stepnr" }, { "foreign.build" => "self.build", "foreign.stepnr" => "self.stepnr" },
undef, undef,
); );
@ -198,13 +198,13 @@ __PACKAGE__->has_many(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"propagatedfrom", "propagatedfrom",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "propagatedfrom" }, { id => "propagatedfrom" },
{ {
is_deferrable => 0, is_deferrable => 0,
@ -215,8 +215,8 @@ __PACKAGE__->belongs_to(
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AMjHq4g/fSUv/lZuZOljYg # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GzztRd7OwomaT3Xi7NB2RQ
my %hint = ( my %hint = (
columns => [ columns => [

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::Builds; package Hydra::Schema::Result::Builds;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::Builds Hydra::Schema::Result::Builds
=cut =cut
@ -278,13 +278,13 @@ __PACKAGE__->set_primary_key("id");
Type: has_many Type: has_many
Related object: L<Hydra::Schema::AggregateConstituents> Related object: L<Hydra::Schema::Result::AggregateConstituents>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"aggregateconstituents_aggregates", "aggregateconstituents_aggregates",
"Hydra::Schema::AggregateConstituents", "Hydra::Schema::Result::AggregateConstituents",
{ "foreign.aggregate" => "self.id" }, { "foreign.aggregate" => "self.id" },
undef, undef,
); );
@ -293,13 +293,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::AggregateConstituents> Related object: L<Hydra::Schema::Result::AggregateConstituents>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"aggregateconstituents_constituents", "aggregateconstituents_constituents",
"Hydra::Schema::AggregateConstituents", "Hydra::Schema::Result::AggregateConstituents",
{ "foreign.constituent" => "self.id" }, { "foreign.constituent" => "self.id" },
undef, undef,
); );
@ -308,13 +308,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::BuildInputs> Related object: L<Hydra::Schema::Result::BuildInputs>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildinputs_builds", "buildinputs_builds",
"Hydra::Schema::BuildInputs", "Hydra::Schema::Result::BuildInputs",
{ "foreign.build" => "self.id" }, { "foreign.build" => "self.id" },
undef, undef,
); );
@ -323,13 +323,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::BuildInputs> Related object: L<Hydra::Schema::Result::BuildInputs>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildinputs_dependencies", "buildinputs_dependencies",
"Hydra::Schema::BuildInputs", "Hydra::Schema::Result::BuildInputs",
{ "foreign.dependency" => "self.id" }, { "foreign.dependency" => "self.id" },
undef, undef,
); );
@ -338,13 +338,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::BuildMetrics> Related object: L<Hydra::Schema::Result::BuildMetrics>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildmetrics", "buildmetrics",
"Hydra::Schema::BuildMetrics", "Hydra::Schema::Result::BuildMetrics",
{ "foreign.build" => "self.id" }, { "foreign.build" => "self.id" },
undef, undef,
); );
@ -353,13 +353,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::BuildOutputs> Related object: L<Hydra::Schema::Result::BuildOutputs>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildoutputs", "buildoutputs",
"Hydra::Schema::BuildOutputs", "Hydra::Schema::Result::BuildOutputs",
{ "foreign.build" => "self.id" }, { "foreign.build" => "self.id" },
undef, undef,
); );
@ -368,13 +368,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::BuildProducts> Related object: L<Hydra::Schema::Result::BuildProducts>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildproducts", "buildproducts",
"Hydra::Schema::BuildProducts", "Hydra::Schema::Result::BuildProducts",
{ "foreign.build" => "self.id" }, { "foreign.build" => "self.id" },
undef, undef,
); );
@ -383,13 +383,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::BuildStepOutputs> Related object: L<Hydra::Schema::Result::BuildStepOutputs>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildstepoutputs", "buildstepoutputs",
"Hydra::Schema::BuildStepOutputs", "Hydra::Schema::Result::BuildStepOutputs",
{ "foreign.build" => "self.id" }, { "foreign.build" => "self.id" },
undef, undef,
); );
@ -398,13 +398,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::BuildSteps> Related object: L<Hydra::Schema::Result::BuildSteps>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildsteps", "buildsteps",
"Hydra::Schema::BuildSteps", "Hydra::Schema::Result::BuildSteps",
{ "foreign.build" => "self.id" }, { "foreign.build" => "self.id" },
undef, undef,
); );
@ -413,13 +413,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::BuildSteps> Related object: L<Hydra::Schema::Result::BuildSteps>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildsteps_propagatedfroms", "buildsteps_propagatedfroms",
"Hydra::Schema::BuildSteps", "Hydra::Schema::Result::BuildSteps",
{ "foreign.propagatedfrom" => "self.id" }, { "foreign.propagatedfrom" => "self.id" },
undef, undef,
); );
@ -428,13 +428,13 @@ __PACKAGE__->has_many(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Jobsets> Related object: L<Hydra::Schema::Result::Jobsets>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"jobset", "jobset",
"Hydra::Schema::Jobsets", "Hydra::Schema::Result::Jobsets",
{ id => "jobset_id" }, { id => "jobset_id" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
@ -443,13 +443,13 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Jobsets> Related object: L<Hydra::Schema::Result::Jobsets>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"jobset_project_jobset", "jobset_project_jobset",
"Hydra::Schema::Jobsets", "Hydra::Schema::Result::Jobsets",
{ name => "jobset", project => "project" }, { name => "jobset", project => "project" },
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "NO ACTION", on_update => "CASCADE" },
); );
@ -458,13 +458,13 @@ __PACKAGE__->belongs_to(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::JobsetEvalInputs> Related object: L<Hydra::Schema::Result::JobsetEvalInputs>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"jobsetevalinputs", "jobsetevalinputs",
"Hydra::Schema::JobsetEvalInputs", "Hydra::Schema::Result::JobsetEvalInputs",
{ "foreign.dependency" => "self.id" }, { "foreign.dependency" => "self.id" },
undef, undef,
); );
@ -473,13 +473,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::JobsetEvalMembers> Related object: L<Hydra::Schema::Result::JobsetEvalMembers>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"jobsetevalmembers", "jobsetevalmembers",
"Hydra::Schema::JobsetEvalMembers", "Hydra::Schema::Result::JobsetEvalMembers",
{ "foreign.build" => "self.id" }, { "foreign.build" => "self.id" },
undef, undef,
); );
@ -488,13 +488,13 @@ __PACKAGE__->has_many(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Projects> Related object: L<Hydra::Schema::Result::Projects>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"project", "project",
"Hydra::Schema::Projects", "Hydra::Schema::Result::Projects",
{ name => "project" }, { name => "project" },
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "NO ACTION", on_update => "CASCADE" },
); );
@ -528,12 +528,12 @@ __PACKAGE__->many_to_many(
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-22 07:11:57 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Df5N0EByYJqoSUqA0dld/A # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WHdSVHhQykmUz0tR/TExVg
__PACKAGE__->has_many( __PACKAGE__->has_many(
"dependents", "dependents",
"Hydra::Schema::BuildInputs", "Hydra::Schema::Result::BuildInputs",
{ "foreign.dependency" => "self.id" }, { "foreign.dependency" => "self.id" },
); );
@ -541,13 +541,13 @@ __PACKAGE__->many_to_many(dependentBuilds => 'dependents', 'build');
__PACKAGE__->has_many( __PACKAGE__->has_many(
"inputs", "inputs",
"Hydra::Schema::BuildInputs", "Hydra::Schema::Result::BuildInputs",
{ "foreign.build" => "self.id" }, { "foreign.build" => "self.id" },
); );
__PACKAGE__->has_one( __PACKAGE__->has_one(
"actualBuildStep", "actualBuildStep",
"Hydra::Schema::BuildSteps", "Hydra::Schema::Result::BuildSteps",
{ 'foreign.drvpath' => 'self.drvpath' { 'foreign.drvpath' => 'self.drvpath'
, 'foreign.build' => 'self.id' , 'foreign.build' => 'self.id'
}, },

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::CachedBazaarInputs; package Hydra::Schema::Result::CachedBazaarInputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::CachedBazaarInputs Hydra::Schema::Result::CachedBazaarInputs
=cut =cut
@ -83,8 +83,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("uri", "revision"); __PACKAGE__->set_primary_key("uri", "revision");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X8L4C57lMOctdqOKSmfA/g # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/9cCRtmGzlDGxjqBEPI2Mw
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::CachedCVSInputs; package Hydra::Schema::Result::CachedCVSInputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::CachedCVSInputs Hydra::Schema::Result::CachedCVSInputs
=cut =cut
@ -99,8 +99,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("uri", "module", "sha256hash"); __PACKAGE__->set_primary_key("uri", "module", "sha256hash");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6eQ+i/th+oVZNRiDPd2luA # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yQt8poWCs/wI6WbE4/YdxA
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration
1; 1;

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::CachedDarcsInputs; package Hydra::Schema::Result::CachedDarcsInputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::CachedDarcsInputs Hydra::Schema::Result::CachedDarcsInputs
=cut =cut
@ -90,8 +90,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("uri", "revision"); __PACKAGE__->set_primary_key("uri", "revision");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Buwq42sBXQVfYUy01WMyYw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:20pTv4R98jXytvlWbriWRg
# You can replace this text with custom code or comments, and it will be preserved on regeneration # You can replace this text with custom code or comments, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::CachedGitInputs; package Hydra::Schema::Result::CachedGitInputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::CachedGitInputs Hydra::Schema::Result::CachedGitInputs
=cut =cut
@ -101,7 +101,7 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("uri", "branch", "revision", "isdeepclone"); __PACKAGE__->set_primary_key("uri", "branch", "revision", "isdeepclone");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-06-19 17:26:24 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wr0grsFTaqRlMeM9vpXjrw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IxG58lqBfLgZ8RTZm1GQKA
1; 1;

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::CachedHgInputs; package Hydra::Schema::Result::CachedHgInputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::CachedHgInputs Hydra::Schema::Result::CachedHgInputs
=cut =cut
@ -92,8 +92,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("uri", "branch", "revision"); __PACKAGE__->set_primary_key("uri", "branch", "revision");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dYfjQ0SJG/mBrsZemAW3zw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:meKBitAelYYc4TPT8NINYQ
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::CachedPathInputs; package Hydra::Schema::Result::CachedPathInputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::CachedPathInputs Hydra::Schema::Result::CachedPathInputs
=cut =cut
@ -90,7 +90,7 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("srcpath", "sha256hash"); __PACKAGE__->set_primary_key("srcpath", "sha256hash");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oV7tbWLNEMC8byKf9UnAlw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PZAkRje22dqftpqfU2jyGg
1; 1;

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::CachedSubversionInputs; package Hydra::Schema::Result::CachedSubversionInputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::CachedSubversionInputs Hydra::Schema::Result::CachedSubversionInputs
=cut =cut
@ -83,7 +83,7 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("uri", "revision"); __PACKAGE__->set_primary_key("uri", "revision");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VGt/0HG84eNZr9OIA8jzow # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6kWslezt4Pb1H8gTW4EU6w
1; 1;

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::EvaluationErrors; package Hydra::Schema::Result::EvaluationErrors;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::EvaluationErrors Hydra::Schema::Result::EvaluationErrors
=cut =cut
@ -86,20 +86,20 @@ __PACKAGE__->set_primary_key("id");
Type: has_many Type: has_many
Related object: L<Hydra::Schema::JobsetEvals> Related object: L<Hydra::Schema::Result::JobsetEvals>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"jobsetevals", "jobsetevals",
"Hydra::Schema::JobsetEvals", "Hydra::Schema::Result::JobsetEvals",
{ "foreign.evaluationerror_id" => "self.id" }, { "foreign.evaluationerror_id" => "self.id" },
undef, undef,
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-02-01 20:17:39 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sZIg35KWCO8MOsQ5cfN1IA # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QA8C+0TfW7unnM4xzOHXdA
__PACKAGE__->add_column( __PACKAGE__->add_column(
"+id" => { retrieve_on_insert => 1 } "+id" => { retrieve_on_insert => 1 }

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::FailedPaths; package Hydra::Schema::Result::FailedPaths;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::FailedPaths Hydra::Schema::Result::FailedPaths
=cut =cut
@ -57,8 +57,8 @@ __PACKAGE__->add_columns("path", { data_type => "text", is_nullable => 0 });
__PACKAGE__->set_primary_key("path"); __PACKAGE__->set_primary_key("path");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jr3XiGO4lWAzqfATbsMwFw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:V/Ce4LuWe5qRHFAU32xXlw
# You can replace this text with custom code or comments, and it will be preserved on regeneration # You can replace this text with custom code or comments, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::JobsetEvalInputs; package Hydra::Schema::Result::JobsetEvalInputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::JobsetEvalInputs Hydra::Schema::Result::JobsetEvalInputs
=cut =cut
@ -134,13 +134,13 @@ __PACKAGE__->set_primary_key("eval", "name", "altnr");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"dependency", "dependency",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "dependency" }, { id => "dependency" },
{ {
is_deferrable => 0, is_deferrable => 0,
@ -154,20 +154,20 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::JobsetEvals> Related object: L<Hydra::Schema::Result::JobsetEvals>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"eval", "eval",
"Hydra::Schema::JobsetEvals", "Hydra::Schema::Result::JobsetEvals",
{ id => "eval" }, { id => "eval" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/cFQGBLhvpmBO1UJztgIAg # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AgMH2XIxp7519fFaYgesVw
my %hint = ( my %hint = (
columns => [ columns => [

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::JobsetEvalMembers; package Hydra::Schema::Result::JobsetEvalMembers;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::JobsetEvalMembers Hydra::Schema::Result::JobsetEvalMembers
=cut =cut
@ -83,13 +83,13 @@ __PACKAGE__->set_primary_key("eval", "build");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"build", "build",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ id => "build" }, { id => "build" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
@ -98,20 +98,20 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::JobsetEvals> Related object: L<Hydra::Schema::Result::JobsetEvals>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"eval", "eval",
"Hydra::Schema::JobsetEvals", "Hydra::Schema::Result::JobsetEvals",
{ id => "eval" }, { id => "eval" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:T+dJFh/sDO8WsasqYVLRSQ # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QBT9/VToFEwbuXSF8IeySQ
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::JobsetEvals; package Hydra::Schema::Result::JobsetEvals;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::JobsetEvals Hydra::Schema::Result::JobsetEvals
=cut =cut
@ -158,13 +158,13 @@ __PACKAGE__->set_primary_key("id");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::EvaluationErrors> Related object: L<Hydra::Schema::Result::EvaluationErrors>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"evaluationerror", "evaluationerror",
"Hydra::Schema::EvaluationErrors", "Hydra::Schema::Result::EvaluationErrors",
{ id => "evaluationerror_id" }, { id => "evaluationerror_id" },
{ {
is_deferrable => 0, is_deferrable => 0,
@ -178,13 +178,13 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Jobsets> Related object: L<Hydra::Schema::Result::Jobsets>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"jobset", "jobset",
"Hydra::Schema::Jobsets", "Hydra::Schema::Result::Jobsets",
{ id => "jobset_id" }, { id => "jobset_id" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },
); );
@ -193,13 +193,13 @@ __PACKAGE__->belongs_to(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::JobsetEvalInputs> Related object: L<Hydra::Schema::Result::JobsetEvalInputs>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"jobsetevalinputs", "jobsetevalinputs",
"Hydra::Schema::JobsetEvalInputs", "Hydra::Schema::Result::JobsetEvalInputs",
{ "foreign.eval" => "self.id" }, { "foreign.eval" => "self.id" },
undef, undef,
); );
@ -208,24 +208,24 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::JobsetEvalMembers> Related object: L<Hydra::Schema::Result::JobsetEvalMembers>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"jobsetevalmembers", "jobsetevalmembers",
"Hydra::Schema::JobsetEvalMembers", "Hydra::Schema::Result::JobsetEvalMembers",
{ "foreign.eval" => "self.id" }, { "foreign.eval" => "self.id" },
undef, undef,
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-02-01 20:17:39 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SGtK0PwRkbxiMuitQvs4wQ # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5qvXXTBDdRzgTEmJz6xC/g
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildIds", "buildIds",
"Hydra::Schema::JobsetEvalMembers", "Hydra::Schema::Result::JobsetEvalMembers",
{ "foreign.eval" => "self.id" }, { "foreign.eval" => "self.id" },
); );

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::JobsetInputAlts; package Hydra::Schema::Result::JobsetInputAlts;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::JobsetInputAlts Hydra::Schema::Result::JobsetInputAlts
=cut =cut
@ -109,19 +109,19 @@ __PACKAGE__->set_primary_key("project", "jobset", "input", "altnr");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::JobsetInputs> Related object: L<Hydra::Schema::Result::JobsetInputs>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"jobsetinput", "jobsetinput",
"Hydra::Schema::JobsetInputs", "Hydra::Schema::Result::JobsetInputs",
{ jobset => "jobset", name => "input", project => "project" }, { jobset => "jobset", name => "input", project => "project" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nh8dQDL9FtgzXcwjDufDMQ # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7GE67QxkIj/ezwUX6c/a/A
1; 1;

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::JobsetInputs; package Hydra::Schema::Result::JobsetInputs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::JobsetInputs Hydra::Schema::Result::JobsetInputs
=cut =cut
@ -100,13 +100,13 @@ __PACKAGE__->set_primary_key("project", "jobset", "name");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Jobsets> Related object: L<Hydra::Schema::Result::Jobsets>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"jobset", "jobset",
"Hydra::Schema::Jobsets", "Hydra::Schema::Result::Jobsets",
{ name => "jobset", project => "project" }, { name => "jobset", project => "project" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
@ -115,13 +115,13 @@ __PACKAGE__->belongs_to(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::JobsetInputAlts> Related object: L<Hydra::Schema::Result::JobsetInputAlts>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"jobsetinputalts", "jobsetinputalts",
"Hydra::Schema::JobsetInputAlts", "Hydra::Schema::Result::JobsetInputAlts",
{ {
"foreign.input" => "self.name", "foreign.input" => "self.name",
"foreign.jobset" => "self.jobset", "foreign.jobset" => "self.jobset",
@ -131,8 +131,8 @@ __PACKAGE__->has_many(
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5uKwEhDXso4IR1TFmwRxiA # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CkU+hbVTmhfOzQhkHJHCsg
use JSON; use JSON;

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::JobsetRenames; package Hydra::Schema::Result::JobsetRenames;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::JobsetRenames Hydra::Schema::Result::JobsetRenames
=cut =cut
@ -83,13 +83,13 @@ __PACKAGE__->set_primary_key("project", "from_");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Jobsets> Related object: L<Hydra::Schema::Result::Jobsets>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"jobset", "jobset",
"Hydra::Schema::Jobsets", "Hydra::Schema::Result::Jobsets",
{ name => "to_", project => "project" }, { name => "to_", project => "project" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
@ -98,20 +98,20 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Projects> Related object: L<Hydra::Schema::Result::Projects>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"project", "project",
"Hydra::Schema::Projects", "Hydra::Schema::Result::Projects",
{ name => "project" }, { name => "project" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eOQbJ2O/p0G1317m3IC/KA # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Czt+7mIWn1e5IlzJYlj0vw
# You can replace this text with custom code or comments, and it will be preserved on regeneration # You can replace this text with custom code or comments, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::Jobsets; package Hydra::Schema::Result::Jobsets;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::Jobsets Hydra::Schema::Result::Jobsets
=cut =cut
@ -243,13 +243,13 @@ __PACKAGE__->add_unique_constraint("jobsets_id_unique", ["id"]);
Type: has_many Type: has_many
Related object: L<Hydra::Schema::BuildMetrics> Related object: L<Hydra::Schema::Result::BuildMetrics>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildmetrics", "buildmetrics",
"Hydra::Schema::BuildMetrics", "Hydra::Schema::Result::BuildMetrics",
{ {
"foreign.jobset" => "self.name", "foreign.jobset" => "self.name",
"foreign.project" => "self.project", "foreign.project" => "self.project",
@ -261,13 +261,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"builds_jobset_ids", "builds_jobset_ids",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ "foreign.jobset_id" => "self.id" }, { "foreign.jobset_id" => "self.id" },
undef, undef,
); );
@ -276,13 +276,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"builds_project_jobsets", "builds_project_jobsets",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ {
"foreign.jobset" => "self.name", "foreign.jobset" => "self.name",
"foreign.project" => "self.project", "foreign.project" => "self.project",
@ -294,13 +294,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::JobsetEvals> Related object: L<Hydra::Schema::Result::JobsetEvals>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"jobsetevals", "jobsetevals",
"Hydra::Schema::JobsetEvals", "Hydra::Schema::Result::JobsetEvals",
{ "foreign.jobset_id" => "self.id" }, { "foreign.jobset_id" => "self.id" },
undef, undef,
); );
@ -309,13 +309,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::JobsetInputs> Related object: L<Hydra::Schema::Result::JobsetInputs>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"jobsetinputs", "jobsetinputs",
"Hydra::Schema::JobsetInputs", "Hydra::Schema::Result::JobsetInputs",
{ {
"foreign.jobset" => "self.name", "foreign.jobset" => "self.name",
"foreign.project" => "self.project", "foreign.project" => "self.project",
@ -327,13 +327,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::JobsetRenames> Related object: L<Hydra::Schema::Result::JobsetRenames>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"jobsetrenames", "jobsetrenames",
"Hydra::Schema::JobsetRenames", "Hydra::Schema::Result::JobsetRenames",
{ "foreign.project" => "self.project", "foreign.to_" => "self.name" }, { "foreign.project" => "self.project", "foreign.to_" => "self.name" },
undef, undef,
); );
@ -342,13 +342,13 @@ __PACKAGE__->has_many(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Projects> Related object: L<Hydra::Schema::Result::Projects>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"project", "project",
"Hydra::Schema::Projects", "Hydra::Schema::Result::Projects",
{ name => "project" }, { name => "project" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
@ -357,13 +357,13 @@ __PACKAGE__->belongs_to(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::StarredJobs> Related object: L<Hydra::Schema::Result::StarredJobs>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"starredjobs", "starredjobs",
"Hydra::Schema::StarredJobs", "Hydra::Schema::Result::StarredJobs",
{ {
"foreign.jobset" => "self.name", "foreign.jobset" => "self.name",
"foreign.project" => "self.project", "foreign.project" => "self.project",
@ -372,8 +372,8 @@ __PACKAGE__->has_many(
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-25 14:38:14 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7XtIqrrGAIvReqly1kapog # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iI44C3BFTo6IsS1tBwWYsg
use JSON; use JSON;
@ -381,13 +381,13 @@ use JSON;
Type: has_many Type: has_many
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"builds", "builds",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ "foreign.jobset_id" => "self.id" }, { "foreign.jobset_id" => "self.id" },
undef, undef,
); );

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::NewsItems; package Hydra::Schema::Result::NewsItems;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::NewsItems Hydra::Schema::Result::NewsItems
=cut =cut
@ -94,19 +94,19 @@ __PACKAGE__->set_primary_key("id");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Users> Related object: L<Hydra::Schema::Result::Users>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"author", "author",
"Hydra::Schema::Users", "Hydra::Schema::Result::Users",
{ username => "author" }, { username => "author" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:r6vX8VG/+NQraIVKFgHzxQ # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pJsP4RptP4rTmM2j4B5+oA
1; 1;

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::NrBuilds; package Hydra::Schema::Result::NrBuilds;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::NrBuilds Hydra::Schema::Result::NrBuilds
=cut =cut
@ -67,8 +67,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("what"); __PACKAGE__->set_primary_key("what");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qv1I8Wu7KXHAs+pyBn2ofA # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8cLowAk8TYW7wSkJvtFWDQ
# You can replace this text with custom code or comments, and it will be preserved on regeneration # You can replace this text with custom code or comments, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::ProjectMembers; package Hydra::Schema::Result::ProjectMembers;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::ProjectMembers Hydra::Schema::Result::ProjectMembers
=cut =cut
@ -76,13 +76,13 @@ __PACKAGE__->set_primary_key("project", "username");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Projects> Related object: L<Hydra::Schema::Result::Projects>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"project", "project",
"Hydra::Schema::Projects", "Hydra::Schema::Result::Projects",
{ name => "project" }, { name => "project" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
@ -91,20 +91,20 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Users> Related object: L<Hydra::Schema::Result::Users>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"username", "username",
"Hydra::Schema::Users", "Hydra::Schema::Result::Users",
{ username => "username" }, { username => "username" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:e/hYmoNmcEUoGhRqtwdyQw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2XEIyAyuVBJ9LtYV0mX/2Q
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::Projects; package Hydra::Schema::Result::Projects;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::Projects Hydra::Schema::Result::Projects
=cut =cut
@ -131,13 +131,13 @@ __PACKAGE__->set_primary_key("name");
Type: has_many Type: has_many
Related object: L<Hydra::Schema::BuildMetrics> Related object: L<Hydra::Schema::Result::BuildMetrics>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"buildmetrics", "buildmetrics",
"Hydra::Schema::BuildMetrics", "Hydra::Schema::Result::BuildMetrics",
{ "foreign.project" => "self.name" }, { "foreign.project" => "self.name" },
undef, undef,
); );
@ -146,13 +146,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::Builds> Related object: L<Hydra::Schema::Result::Builds>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"builds", "builds",
"Hydra::Schema::Builds", "Hydra::Schema::Result::Builds",
{ "foreign.project" => "self.name" }, { "foreign.project" => "self.name" },
undef, undef,
); );
@ -161,13 +161,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::JobsetRenames> Related object: L<Hydra::Schema::Result::JobsetRenames>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"jobsetrenames", "jobsetrenames",
"Hydra::Schema::JobsetRenames", "Hydra::Schema::Result::JobsetRenames",
{ "foreign.project" => "self.name" }, { "foreign.project" => "self.name" },
undef, undef,
); );
@ -176,13 +176,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::Jobsets> Related object: L<Hydra::Schema::Result::Jobsets>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"jobsets", "jobsets",
"Hydra::Schema::Jobsets", "Hydra::Schema::Result::Jobsets",
{ "foreign.project" => "self.name" }, { "foreign.project" => "self.name" },
undef, undef,
); );
@ -191,13 +191,13 @@ __PACKAGE__->has_many(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Users> Related object: L<Hydra::Schema::Result::Users>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"owner", "owner",
"Hydra::Schema::Users", "Hydra::Schema::Result::Users",
{ username => "owner" }, { username => "owner" },
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "NO ACTION", on_update => "CASCADE" },
); );
@ -206,13 +206,13 @@ __PACKAGE__->belongs_to(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::ProjectMembers> Related object: L<Hydra::Schema::Result::ProjectMembers>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"projectmembers", "projectmembers",
"Hydra::Schema::ProjectMembers", "Hydra::Schema::Result::ProjectMembers",
{ "foreign.project" => "self.name" }, { "foreign.project" => "self.name" },
undef, undef,
); );
@ -221,13 +221,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::StarredJobs> Related object: L<Hydra::Schema::Result::StarredJobs>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"starredjobs", "starredjobs",
"Hydra::Schema::StarredJobs", "Hydra::Schema::Result::StarredJobs",
{ "foreign.project" => "self.name" }, { "foreign.project" => "self.name" },
undef, undef,
); );
@ -243,8 +243,8 @@ Composing rels: L</projectmembers> -> username
__PACKAGE__->many_to_many("usernames", "projectmembers", "username"); __PACKAGE__->many_to_many("usernames", "projectmembers", "username");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-25 14:38:14 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+4yWd9UjCyxxLZYDrVUAxA # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nKVZ8ZNCZQQ52zbpDAaoQQ
use JSON; use JSON;

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::SchemaVersion; package Hydra::Schema::Result::SchemaVersion;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::SchemaVersion Hydra::Schema::Result::SchemaVersion
=cut =cut
@ -45,8 +45,8 @@ __PACKAGE__->table("schemaversion");
__PACKAGE__->add_columns("version", { data_type => "integer", is_nullable => 0 }); __PACKAGE__->add_columns("version", { data_type => "integer", is_nullable => 0 });
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2wy4FsRYVVo2RTCWXcmgvg # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GAlywxH9wpqRoD36GobQvA
# You can replace this text with custom code or comments, and it will be preserved on regeneration # You can replace this text with custom code or comments, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::StarredJobs; package Hydra::Schema::Result::StarredJobs;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::StarredJobs Hydra::Schema::Result::StarredJobs
=cut =cut
@ -95,13 +95,13 @@ __PACKAGE__->set_primary_key("username", "project", "jobset", "job");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Jobsets> Related object: L<Hydra::Schema::Result::Jobsets>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"jobset", "jobset",
"Hydra::Schema::Jobsets", "Hydra::Schema::Result::Jobsets",
{ name => "jobset", project => "project" }, { name => "jobset", project => "project" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
@ -110,13 +110,13 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Projects> Related object: L<Hydra::Schema::Result::Projects>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"project", "project",
"Hydra::Schema::Projects", "Hydra::Schema::Result::Projects",
{ name => "project" }, { name => "project" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
@ -125,20 +125,20 @@ __PACKAGE__->belongs_to(
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Users> Related object: L<Hydra::Schema::Result::Users>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"username", "username",
"Hydra::Schema::Users", "Hydra::Schema::Result::Users",
{ username => "username" }, { username => "username" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-05-27 17:36:07 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RRDQ6UQL/bjXPD+HO1s5ug # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j+dXc22FIqlCSmP3mOX+Aw
# You can replace this text with custom code or comments, and it will be preserved on regeneration # You can replace this text with custom code or comments, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::SystemStatus; package Hydra::Schema::Result::SystemStatus;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::SystemStatus Hydra::Schema::Result::SystemStatus
=cut =cut
@ -67,8 +67,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("what"); __PACKAGE__->set_primary_key("what");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GeXpTVktMXjHENa/P3qOxw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ps8gKPEnK1tTa/hXYz+27A
# You can replace this text with custom code or comments, and it will be preserved on regeneration # You can replace this text with custom code or comments, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::SystemTypes; package Hydra::Schema::Result::SystemTypes;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::SystemTypes Hydra::Schema::Result::SystemTypes
=cut =cut
@ -68,7 +68,7 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("system"); __PACKAGE__->set_primary_key("system");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fYeKQQSS5J8rjO3t+Hbz0g # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:skzz9Wqwox5QO35YSgVXbw
1; 1;

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::UriRevMapper; package Hydra::Schema::Result::UriRevMapper;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::UriRevMapper Hydra::Schema::Result::UriRevMapper
=cut =cut
@ -67,8 +67,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("baseuri"); __PACKAGE__->set_primary_key("baseuri");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FOg2/BVJK3yg8MAYMrqZOQ # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:prycgyKZhOx4ch18xkoj1w
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::UserRoles; package Hydra::Schema::Result::UserRoles;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::UserRoles Hydra::Schema::Result::UserRoles
=cut =cut
@ -75,19 +75,19 @@ __PACKAGE__->set_primary_key("username", "role");
Type: belongs_to Type: belongs_to
Related object: L<Hydra::Schema::Users> Related object: L<Hydra::Schema::Result::Users>
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
"username", "username",
"Hydra::Schema::Users", "Hydra::Schema::Result::Users",
{ username => "username" }, { username => "username" },
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
); );
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LUw2PDFvUHs0E0UZ3oHFxw # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MZCKml/f7xn3GmsqocCuuQ
1; 1;

View file

@ -1,12 +1,12 @@
use utf8; use utf8;
package Hydra::Schema::Users; package Hydra::Schema::Result::Users;
# Created by DBIx::Class::Schema::Loader # Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE # DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME =head1 NAME
Hydra::Schema::Users Hydra::Schema::Result::Users
=cut =cut
@ -110,13 +110,13 @@ __PACKAGE__->set_primary_key("username");
Type: has_many Type: has_many
Related object: L<Hydra::Schema::NewsItems> Related object: L<Hydra::Schema::Result::NewsItems>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"newsitems", "newsitems",
"Hydra::Schema::NewsItems", "Hydra::Schema::Result::NewsItems",
{ "foreign.author" => "self.username" }, { "foreign.author" => "self.username" },
undef, undef,
); );
@ -125,13 +125,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::ProjectMembers> Related object: L<Hydra::Schema::Result::ProjectMembers>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"projectmembers", "projectmembers",
"Hydra::Schema::ProjectMembers", "Hydra::Schema::Result::ProjectMembers",
{ "foreign.username" => "self.username" }, { "foreign.username" => "self.username" },
undef, undef,
); );
@ -140,13 +140,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::Projects> Related object: L<Hydra::Schema::Result::Projects>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"projects_2s", "projects_2s",
"Hydra::Schema::Projects", "Hydra::Schema::Result::Projects",
{ "foreign.owner" => "self.username" }, { "foreign.owner" => "self.username" },
undef, undef,
); );
@ -155,13 +155,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::StarredJobs> Related object: L<Hydra::Schema::Result::StarredJobs>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"starredjobs", "starredjobs",
"Hydra::Schema::StarredJobs", "Hydra::Schema::Result::StarredJobs",
{ "foreign.username" => "self.username" }, { "foreign.username" => "self.username" },
undef, undef,
); );
@ -170,13 +170,13 @@ __PACKAGE__->has_many(
Type: has_many Type: has_many
Related object: L<Hydra::Schema::UserRoles> Related object: L<Hydra::Schema::Result::UserRoles>
=cut =cut
__PACKAGE__->has_many( __PACKAGE__->has_many(
"userroles", "userroles",
"Hydra::Schema::UserRoles", "Hydra::Schema::Result::UserRoles",
{ "foreign.username" => "self.username" }, { "foreign.username" => "self.username" },
undef, undef,
); );
@ -192,8 +192,8 @@ Composing rels: L</projectmembers> -> project
__PACKAGE__->many_to_many("projects", "projectmembers", "project"); __PACKAGE__->many_to_many("projects", "projectmembers", "project");
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4/WZ95asbnGmK+nEHb4sLQ # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qePTzHYl/TjCSjZrU2g/cg
use Crypt::Passphrase; use Crypt::Passphrase;
use Digest::SHA1 qw(sha1_hex); use Digest::SHA1 qw(sha1_hex);

View file

@ -5,6 +5,8 @@ PERL_MODULES = \
$(wildcard Hydra/Model/*.pm) \ $(wildcard Hydra/Model/*.pm) \
$(wildcard Hydra/View/*.pm) \ $(wildcard Hydra/View/*.pm) \
$(wildcard Hydra/Schema/*.pm) \ $(wildcard Hydra/Schema/*.pm) \
$(wildcard Hydra/Schema/Result/*.pm) \
$(wildcard Hydra/Schema/ResultSet/*.pm) \
$(wildcard Hydra/Controller/*.pm) \ $(wildcard Hydra/Controller/*.pm) \
$(wildcard Hydra/Base/*.pm) \ $(wildcard Hydra/Base/*.pm) \
$(wildcard Hydra/Base/Controller/*.pm) \ $(wildcard Hydra/Base/Controller/*.pm) \

View file

@ -5,6 +5,7 @@ die "$0: dbi connection string required \n" if scalar @ARGV != 1;
make_schema_at("Hydra::Schema", { make_schema_at("Hydra::Schema", {
naming => { ALL => "v5" }, naming => { ALL => "v5" },
relationships => 1, relationships => 1,
use_namespaces => 1,
moniker_map => { moniker_map => {
"aggregateconstituents" => "AggregateConstituents", "aggregateconstituents" => "AggregateConstituents",
"buildinputs" => "BuildInputs", "buildinputs" => "BuildInputs",