diff --git a/lib/npg_qc/Schema/Result/Adapter.pm b/lib/npg_qc/Schema/Result/Adapter.pm index b0d88b0a..aba3aa11 100644 --- a/lib/npg_qc/Schema/Result/Adapter.pm +++ b/lib/npg_qc/Schema/Result/Adapter.pm @@ -257,7 +257,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -280,8 +280,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::adapter'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-19 12:16:50 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jxMC400VgMoWLi7VZ1BQvg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:srapMIASvykpn0D/5X066w our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/AlignmentFilterMetrics.pm b/lib/npg_qc/Schema/Result/AlignmentFilterMetrics.pm index cb6204e6..d473a88f 100644 --- a/lib/npg_qc/Schema/Result/AlignmentFilterMetrics.pm +++ b/lib/npg_qc/Schema/Result/AlignmentFilterMetrics.pm @@ -184,7 +184,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -207,8 +207,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::alignment_filter_metrics'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UVRsbLgCI8N3LzjV6YBB7A +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ak1mGBgWlfmsIfmzT/4XvQ our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/BamFlagstats.pm b/lib/npg_qc/Schema/Result/BamFlagstats.pm index eaddcfe0..d0621562 100644 --- a/lib/npg_qc/Schema/Result/BamFlagstats.pm +++ b/lib/npg_qc/Schema/Result/BamFlagstats.pm @@ -454,7 +454,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -477,8 +477,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::bam_flagstats'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2019-04-17 14:56:54 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YsrYNzYhK4jAltTpq12t+g +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:axfkgZIrumpoJiNjfj7yyA # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/lib/npg_qc/Schema/Result/Bcfstats.pm b/lib/npg_qc/Schema/Result/Bcfstats.pm index 4db93b85..14b9da8c 100644 --- a/lib/npg_qc/Schema/Result/Bcfstats.pm +++ b/lib/npg_qc/Schema/Result/Bcfstats.pm @@ -233,7 +233,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -256,8 +256,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::bcfstats'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2018-07-24 17:13:35 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:niEMJnu89gCh6Yx6PzR7hw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gJt3V2S2ree5E94xu6xn1A # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/lib/npg_qc/Schema/Result/Contamination.pm b/lib/npg_qc/Schema/Result/Contamination.pm index e2241fe1..2fb96a94 100644 --- a/lib/npg_qc/Schema/Result/Contamination.pm +++ b/lib/npg_qc/Schema/Result/Contamination.pm @@ -219,7 +219,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -242,8 +242,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::contamination'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9/I9ZNNFeUTRJb7yJXunBQ +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:q/Lh45owtn/TU8GHHf4jwA our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/GcBias.pm b/lib/npg_qc/Schema/Result/GcBias.pm index 0ad88e6a..587d36c8 100644 --- a/lib/npg_qc/Schema/Result/GcBias.pm +++ b/lib/npg_qc/Schema/Result/GcBias.pm @@ -269,7 +269,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -292,8 +292,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::gc_bias'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E6k6Zr3VAt0RkqAEH2ZBrA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Y0t2xa+NCczKCwOEWAjUcQ our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/GcFraction.pm b/lib/npg_qc/Schema/Result/GcFraction.pm index 53520d5d..fb2d380e 100644 --- a/lib/npg_qc/Schema/Result/GcFraction.pm +++ b/lib/npg_qc/Schema/Result/GcFraction.pm @@ -237,7 +237,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -260,8 +260,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::gc_fraction'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XCy84rstloTadFcE32SIoQ +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uyOmbQl5nmU4uibxbxB8QQ our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/Generic.pm b/lib/npg_qc/Schema/Result/Generic.pm index a875a138..fbb5a185 100644 --- a/lib/npg_qc/Schema/Result/Generic.pm +++ b/lib/npg_qc/Schema/Result/Generic.pm @@ -177,7 +177,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -200,8 +200,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::generic'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-07-14 09:16:04 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uIYLagwKxxyrYTKAgv6eYA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iCSGbCy41Xe5K29fq54DUg our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/Genotype.pm b/lib/npg_qc/Schema/Result/Genotype.pm index 8b9d49cc..10af717c 100644 --- a/lib/npg_qc/Schema/Result/Genotype.pm +++ b/lib/npg_qc/Schema/Result/Genotype.pm @@ -323,7 +323,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -346,8 +346,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::genotype'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dOkisnN8FSpBKaEVOtq9tg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CcmXuEJl5SNEZEWrWJ1jnw our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/GenotypeCall.pm b/lib/npg_qc/Schema/Result/GenotypeCall.pm index 9582416c..06232d47 100644 --- a/lib/npg_qc/Schema/Result/GenotypeCall.pm +++ b/lib/npg_qc/Schema/Result/GenotypeCall.pm @@ -250,7 +250,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -273,8 +273,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::genotype_call'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2018-05-14 16:35:48 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Z3A8Bv3NKskL8diAXznyaw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Vo+ZhpU991FKH7gAzXd59Q # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/lib/npg_qc/Schema/Result/HaplotagMetrics.pm b/lib/npg_qc/Schema/Result/HaplotagMetrics.pm index e833eb56..8b61b88f 100644 --- a/lib/npg_qc/Schema/Result/HaplotagMetrics.pm +++ b/lib/npg_qc/Schema/Result/HaplotagMetrics.pm @@ -198,7 +198,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -219,8 +219,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-08-16 11:54:35 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bckQUhv6suXghL1wTChGug +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2kmSW9SZAyLFgSoUJCzYcg our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/InsertSize.pm b/lib/npg_qc/Schema/Result/InsertSize.pm index 07b26cfe..642e0aef 100644 --- a/lib/npg_qc/Schema/Result/InsertSize.pm +++ b/lib/npg_qc/Schema/Result/InsertSize.pm @@ -337,7 +337,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -360,8 +360,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::insert_size'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dvQeKZR2d4Wtz0s3OEccog +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pJmotNRbztmi5AvC3ovrOg our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/Interop.pm b/lib/npg_qc/Schema/Result/Interop.pm index 1a385bb4..109bcb7e 100644 --- a/lib/npg_qc/Schema/Result/Interop.pm +++ b/lib/npg_qc/Schema/Result/Interop.pm @@ -154,7 +154,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -177,8 +177,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::interop'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-01-23 16:45:09 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3OsEWKDv2Wiwgvz81Osg/A +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eBRUARW2DJk9PeWPDbh+3Q # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/lib/npg_qc/Schema/Result/MqcLibraryOutcomeEnt.pm b/lib/npg_qc/Schema/Result/MqcLibraryOutcomeEnt.pm index efd60aff..e68d894e 100644 --- a/lib/npg_qc/Schema/Result/MqcLibraryOutcomeEnt.pm +++ b/lib/npg_qc/Schema/Result/MqcLibraryOutcomeEnt.pm @@ -215,7 +215,7 @@ __PACKAGE__->belongs_to( 'mqc_outcome', 'npg_qc::Schema::Result::MqcLibraryOutcomeDict', { id_mqc_library_outcome => 'id_mqc_outcome' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head2 seq_composition @@ -230,12 +230,12 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-15 14:33:11 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ToJTCdCmZugE5pmrRj0z1A +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:44 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AnOBRE7DAQwsNVRnlZ3VDQ use Carp; with qw/npg_qc::Schema::Mqc::OutcomeEntity/; diff --git a/lib/npg_qc/Schema/Result/MqcLibraryOutcomeHist.pm b/lib/npg_qc/Schema/Result/MqcLibraryOutcomeHist.pm index f706fcfa..31c725ba 100644 --- a/lib/npg_qc/Schema/Result/MqcLibraryOutcomeHist.pm +++ b/lib/npg_qc/Schema/Result/MqcLibraryOutcomeHist.pm @@ -184,7 +184,7 @@ __PACKAGE__->belongs_to( 'mqc_outcome', 'npg_qc::Schema::Result::MqcLibraryOutcomeDict', { id_mqc_library_outcome => 'id_mqc_outcome' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head2 seq_composition @@ -199,12 +199,12 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-15 14:33:11 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FHRyyISjIlkr7To6IAI5eg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LcwccF+lrvx8CzrPw4riqQ our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/MqcOutcomeEnt.pm b/lib/npg_qc/Schema/Result/MqcOutcomeEnt.pm index 1d23c9fc..8ffee985 100644 --- a/lib/npg_qc/Schema/Result/MqcOutcomeEnt.pm +++ b/lib/npg_qc/Schema/Result/MqcOutcomeEnt.pm @@ -205,7 +205,7 @@ __PACKAGE__->belongs_to( 'mqc_outcome', 'npg_qc::Schema::Result::MqcOutcomeDict', { id_mqc_outcome => 'id_mqc_outcome' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head2 seq_composition @@ -220,12 +220,12 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-15 14:33:12 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CER7lXmkdjHi1Q12USNB+Q +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:U9PH+AyBX2DFQLrVDTfK/Q use Carp; diff --git a/lib/npg_qc/Schema/Result/MqcOutcomeHist.pm b/lib/npg_qc/Schema/Result/MqcOutcomeHist.pm index 742e5ced..07d1390a 100644 --- a/lib/npg_qc/Schema/Result/MqcOutcomeHist.pm +++ b/lib/npg_qc/Schema/Result/MqcOutcomeHist.pm @@ -177,7 +177,7 @@ __PACKAGE__->belongs_to( 'mqc_outcome', 'npg_qc::Schema::Result::MqcOutcomeDict', { id_mqc_outcome => 'id_mqc_outcome' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head2 seq_composition @@ -192,12 +192,12 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-15 14:33:12 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jzcSpLhPAHC3W3XkadX0XA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nqqsNCkoxbS5qEs0VkLHeA our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/PulldownMetrics.pm b/lib/npg_qc/Schema/Result/PulldownMetrics.pm index 86ae3627..9ecffe54 100644 --- a/lib/npg_qc/Schema/Result/PulldownMetrics.pm +++ b/lib/npg_qc/Schema/Result/PulldownMetrics.pm @@ -323,7 +323,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -346,8 +346,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::pulldown_metrics'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:T6yxVg96ts6jOfEGLy4Veg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SDBKSU52gWsUOwOJAkyoQg our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/QXYield.pm b/lib/npg_qc/Schema/Result/QXYield.pm index f56a345b..bf74c2e7 100644 --- a/lib/npg_qc/Schema/Result/QXYield.pm +++ b/lib/npg_qc/Schema/Result/QXYield.pm @@ -269,7 +269,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -292,8 +292,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::qX_yield'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-19 12:16:50 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LHzBwbDWKgAAeb8bUrM8og +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:o6vntkhfrLEMyYVCPe7+Yg our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/RefMatch.pm b/lib/npg_qc/Schema/Result/RefMatch.pm index beb58e19..d89b6254 100644 --- a/lib/npg_qc/Schema/Result/RefMatch.pm +++ b/lib/npg_qc/Schema/Result/RefMatch.pm @@ -219,7 +219,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -242,8 +242,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::ref_match'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tz6CkYNlRjjnVZaXpsYBeQ +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oI6uqypErTD9z8fjbZZ93A our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/Review.pm b/lib/npg_qc/Schema/Result/Review.pm index f3c9e4d8..1aac0e56 100644 --- a/lib/npg_qc/Schema/Result/Review.pm +++ b/lib/npg_qc/Schema/Result/Review.pm @@ -198,7 +198,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -219,8 +219,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2019-06-04 14:47:17 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DeTa7xq61g7m5KPDAyzGyQ +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VDZxa2LBAMuUJiqejIgB/w # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/lib/npg_qc/Schema/Result/RnaSeqc.pm b/lib/npg_qc/Schema/Result/RnaSeqc.pm index 7900cb45..b223e4c8 100644 --- a/lib/npg_qc/Schema/Result/RnaSeqc.pm +++ b/lib/npg_qc/Schema/Result/RnaSeqc.pm @@ -289,7 +289,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -312,8 +312,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::rna_seqc'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2018-10-15 15:29:49 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4nnuhEoMDc9Hi+l1YZc6HQ +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3+97qDxhVY1DW63gOT4qdg # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/lib/npg_qc/Schema/Result/SamtoolsStats.pm b/lib/npg_qc/Schema/Result/SamtoolsStats.pm index 363a193c..8ab8b813 100644 --- a/lib/npg_qc/Schema/Result/SamtoolsStats.pm +++ b/lib/npg_qc/Schema/Result/SamtoolsStats.pm @@ -150,7 +150,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -173,8 +173,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::samtools_stats'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-03-22 11:40:42 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CHtNIASw5kdMTguj8RfNcw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sxNenAOzmWppQbH3MEoVNg # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/lib/npg_qc/Schema/Result/SeqComponentComposition.pm b/lib/npg_qc/Schema/Result/SeqComponentComposition.pm index 705bfcdc..3957987b 100644 --- a/lib/npg_qc/Schema/Result/SeqComponentComposition.pm +++ b/lib/npg_qc/Schema/Result/SeqComponentComposition.pm @@ -163,7 +163,7 @@ __PACKAGE__->belongs_to( 'seq_component', 'npg_qc::Schema::Result::SeqComponent', { id_seq_component => 'id_seq_component' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head2 seq_composition @@ -178,12 +178,12 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition', size => 'size' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); -# Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-09-11 16:26:51 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:l9HRSiRUN47Baf3NyuVG+Q +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wCYXZ7/Kxyw/9x+nXi3ddQ # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/lib/npg_qc/Schema/Result/SequenceError.pm b/lib/npg_qc/Schema/Result/SequenceError.pm index c49bba25..1c9f4e7c 100644 --- a/lib/npg_qc/Schema/Result/SequenceError.pm +++ b/lib/npg_qc/Schema/Result/SequenceError.pm @@ -328,7 +328,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -351,8 +351,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::sequence_error'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:T1ERbTzmxAuKdLmWOwJJyA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1MEh1Rmgjlz9AfkwVdCoEQ our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/SequenceSummary.pm b/lib/npg_qc/Schema/Result/SequenceSummary.pm index 41330d79..a6b1a6ee 100644 --- a/lib/npg_qc/Schema/Result/SequenceSummary.pm +++ b/lib/npg_qc/Schema/Result/SequenceSummary.pm @@ -196,7 +196,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -217,8 +217,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2019-06-13 15:19:01 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YAWYbAzDsh2BsfEYPQYZHg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O6FEnHuEWYgpVVO7OK41yQ # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/lib/npg_qc/Schema/Result/SpatialFilter.pm b/lib/npg_qc/Schema/Result/SpatialFilter.pm index 826a67ac..8e01f679 100644 --- a/lib/npg_qc/Schema/Result/SpatialFilter.pm +++ b/lib/npg_qc/Schema/Result/SpatialFilter.pm @@ -176,7 +176,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -197,8 +197,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jvqukWoMZdGlwz/oQjDrFw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qpHbDBw2SVmIJ2n0UikTjQ our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/SplitStats.pm b/lib/npg_qc/Schema/Result/SplitStats.pm index ab0b95c8..c287d560 100644 --- a/lib/npg_qc/Schema/Result/SplitStats.pm +++ b/lib/npg_qc/Schema/Result/SplitStats.pm @@ -275,7 +275,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head2 split_stats_coverages @@ -311,8 +311,8 @@ __PACKAGE__->has_many( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:T7PoM/FxAC3pSymaQtEGsA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0SokhBA6X2ZxX1uvkPPC5A use MooseX::Aliases; diff --git a/lib/npg_qc/Schema/Result/SubstitutionMetrics.pm b/lib/npg_qc/Schema/Result/SubstitutionMetrics.pm index 563f7639..bb73e2ed 100644 --- a/lib/npg_qc/Schema/Result/SubstitutionMetrics.pm +++ b/lib/npg_qc/Schema/Result/SubstitutionMetrics.pm @@ -277,7 +277,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -298,8 +298,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-13 22:43:13 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZOL2iYj4stZnrInK/eUXAw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cek531jCaTF8qrVyGCpj5g our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/TagDecodeStats.pm b/lib/npg_qc/Schema/Result/TagDecodeStats.pm index 6a2d20d0..28a9e8f3 100644 --- a/lib/npg_qc/Schema/Result/TagDecodeStats.pm +++ b/lib/npg_qc/Schema/Result/TagDecodeStats.pm @@ -216,7 +216,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -239,8 +239,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::tag_decode_stats'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fSmJktYbIQROKCSfFrpEnA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E3dwbjxFVhWK1fZ+xfnFAg our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/TagMetrics.pm b/lib/npg_qc/Schema/Result/TagMetrics.pm index 7864ebc8..f567d9af 100644 --- a/lib/npg_qc/Schema/Result/TagMetrics.pm +++ b/lib/npg_qc/Schema/Result/TagMetrics.pm @@ -300,7 +300,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -323,8 +323,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::tag_metrics'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-19 13:25:57 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X85s6Sx84dZtx0r2CpnPQA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1d2K5torBGwUuJ/rMuVvfw our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/TagsReporters.pm b/lib/npg_qc/Schema/Result/TagsReporters.pm index c14cf658..ab6b4326 100644 --- a/lib/npg_qc/Schema/Result/TagsReporters.pm +++ b/lib/npg_qc/Schema/Result/TagsReporters.pm @@ -225,7 +225,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -248,8 +248,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::tags_reporters'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RQcWkb8ZRskffujtCa/lsw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:28gJ3S2ZfnH6IXT8FmcNAw our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/UpstreamTags.pm b/lib/npg_qc/Schema/Result/UpstreamTags.pm index 685f5b8b..c458a397 100644 --- a/lib/npg_qc/Schema/Result/UpstreamTags.pm +++ b/lib/npg_qc/Schema/Result/UpstreamTags.pm @@ -252,7 +252,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -275,8 +275,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::upstream_tags'; -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 16:25:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VjcBJxeNEyHRqcsAeV3qUg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iZvSrIKZMURUOr4CL3EMmQ our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/UqcOutcomeEnt.pm b/lib/npg_qc/Schema/Result/UqcOutcomeEnt.pm index aa7a5b73..89bfaa71 100644 --- a/lib/npg_qc/Schema/Result/UqcOutcomeEnt.pm +++ b/lib/npg_qc/Schema/Result/UqcOutcomeEnt.pm @@ -189,7 +189,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head2 uqc_outcome @@ -204,12 +204,12 @@ __PACKAGE__->belongs_to( 'uqc_outcome', 'npg_qc::Schema::Result::UqcOutcomeDict', { id_uqc_outcome => 'id_uqc_outcome' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-10-10 16:47:36 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oG/q5dOkJ/e9LH72FaUPzw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4cAGzehlGMRDfWK+CZbizw use Carp; diff --git a/lib/npg_qc/Schema/Result/UqcOutcomeHist.pm b/lib/npg_qc/Schema/Result/UqcOutcomeHist.pm index e3d5896a..9ca823cc 100644 --- a/lib/npg_qc/Schema/Result/UqcOutcomeHist.pm +++ b/lib/npg_qc/Schema/Result/UqcOutcomeHist.pm @@ -175,7 +175,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head2 uqc_outcome @@ -190,12 +190,12 @@ __PACKAGE__->belongs_to( 'uqc_outcome', 'npg_qc::Schema::Result::UqcOutcomeDict', { id_uqc_outcome => 'id_uqc_outcome' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); -# Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-10-10 16:47:36 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:W25wZbDnVcThChyx0ZEQNw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MXLb6JGrqH30hXUJPeZwgQ our $VERSION = '0'; diff --git a/lib/npg_qc/Schema/Result/VerifyBamId.pm b/lib/npg_qc/Schema/Result/VerifyBamId.pm index 79cdef92..79f8fa67 100644 --- a/lib/npg_qc/Schema/Result/VerifyBamId.pm +++ b/lib/npg_qc/Schema/Result/VerifyBamId.pm @@ -227,7 +227,7 @@ __PACKAGE__->belongs_to( 'seq_composition', 'npg_qc::Schema::Result::SeqComposition', { id_seq_composition => 'id_seq_composition' }, - { is_deferrable => 1, on_delete => 'NO ACTION', on_update => 'NO ACTION' }, + { is_deferrable => 1, on_delete => 'RESTRICT', on_update => 'RESTRICT' }, ); =head1 L ROLES APPLIED @@ -250,8 +250,8 @@ __PACKAGE__->belongs_to( with 'npg_qc::Schema::Composition', 'npg_qc::Schema::Flators', 'npg_qc::autoqc::role::result', 'npg_qc::autoqc::role::verify_bam_id'; -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2019-08-29 10:31:30 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:g2285gY2V+24Dah34YMHvQ +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2023-10-23 17:35:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kWZoVzbPdiZeXweKMz5GYg our $VERSION = '0';