From 8492db033e4aec01561ef1f3e5bbd1c32244abc1 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 29 Apr 2021 08:32:47 -0400 Subject: [PATCH] Jobsets,JobsetInputs: use JSON --- src/lib/Hydra/Schema/JobsetInputs.pm | 2 ++ src/lib/Hydra/Schema/Jobsets.pm | 1 + 2 files changed, 3 insertions(+) diff --git a/src/lib/Hydra/Schema/JobsetInputs.pm b/src/lib/Hydra/Schema/JobsetInputs.pm index 8ac2a560..dd3c28be 100644 --- a/src/lib/Hydra/Schema/JobsetInputs.pm +++ b/src/lib/Hydra/Schema/JobsetInputs.pm @@ -134,6 +134,8 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5uKwEhDXso4IR1TFmwRxiA +use JSON; + sub as_json { my $self = shift; diff --git a/src/lib/Hydra/Schema/Jobsets.pm b/src/lib/Hydra/Schema/Jobsets.pm index fcb5772e..77075089 100644 --- a/src/lib/Hydra/Schema/Jobsets.pm +++ b/src/lib/Hydra/Schema/Jobsets.pm @@ -375,6 +375,7 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-25 14:38:14 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7XtIqrrGAIvReqly1kapog +use JSON; =head2 builds