HPC-Runner-Command-Plugin-Logger-Sqlite
view release on metacpan or search on metacpan
lib/HPC/Runner/Command/Plugin/Logger/Sqlite/Schema/Result/Submission.pm view on Meta::CPAN
is_nullable: 1
=head2 total_processes
data_type: 'integer'
is_nullable: 0
=head2 total_batches
data_type: 'integet'
is_nullable: 0
=head2 submission_time
data_type: 'text'
is_nullable: 0
=cut
__PACKAGE__->add_columns(
"submission_pi",
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
"project",
{ data_type => "text", is_nullable => 1 },
"submission_meta",
{ data_type => "text", is_nullable => 1 },
"total_processes",
{ data_type => "integer", is_nullable => 0 },
"total_batches",
{ data_type => "integet", is_nullable => 0 },
"submission_time",
{ data_type => "text", is_nullable => 0 },
);
=head1 PRIMARY KEY
=over 4
=item * L</submission_pi>
=back
=cut
__PACKAGE__->set_primary_key("submission_pi");
=head1 RELATIONS
=head2 jobs
Type: has_many
Related object: L<HPC::Runner::Command::Plugin::Logger::Sqlite::Schema::Result::Job>
=cut
__PACKAGE__->has_many(
"jobs",
"HPC::Runner::Command::Plugin::Logger::Sqlite::Schema::Result::Job",
{ "foreign.submission_fk" => "self.submission_pi" },
{ cascade_copy => 0, cascade_delete => 0 },
);
# Created by DBIx::Class::Schema::Loader v0.07045 @ 2017-03-28 14:40:11
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:e9yr8/SPDCmvVbTqLXW6PA
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;
( run in 2.611 seconds using v1.01-cache-2.11-cpan-75ffa21a3d4 )