Perl5-CoreSmokeDB-Schema

 view release on metacpan or  search on metacpan

lib/Perl5/CoreSmokeDB/Schema/Result/Failure.pm  view on Meta::CPAN

    original    => { data_type => "varchar" },
  },
  "status",
  {
    data_type   => "text",
    is_nullable => 0,
    original    => { data_type => "varchar" },
  },
  "extra",
  {
    data_type   => "text",
    is_nullable => 1,
    original    => { data_type => "varchar" },
  },
);

=head1 PRIMARY KEY

=over 4

=item * L</id>

=back

=cut

__PACKAGE__->set_primary_key("id");

=head1 UNIQUE CONSTRAINTS

=head2 C<failure_test_status_extra_key>

=over 4

=item * L</test>

=item * L</status>

=item * L</extra>

=back

=cut

__PACKAGE__->add_unique_constraint("failure_test_status_extra_key", ["test", "status", "extra"]);

=head1 RELATIONS

=head2 failures_for_env

Type: has_many

Related object: L<Perl5::CoreSmokeDB::Schema::Result::FailureForEnv>

=cut

__PACKAGE__->has_many(
  "failures_for_env",
  "Perl5::CoreSmokeDB::Schema::Result::FailureForEnv",
  { "foreign.failure_id" => "self.id" },
  { cascade_copy => 0, cascade_delete => 0 },
);


# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-06 09:15:22
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:47DdjPyTSksgr5Z6Dw+HgA


# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;



( run in 1.324 second using v1.01-cache-2.11-cpan-d8267643d1d )