« TaskPipe/SchemaTemplate_Project/Result/Pinterp.pm
↑ Summary
TaskPipe/SchemaTemplate_Project/Result/Thread.pm »
| 1 | use utf8; | ||
| 2 | package TaskPipe::SchemaTemplate_Project::Result::Result; | ||
| 3 | |||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | |||
| 7 | use base 'DBIx::Class::Core'; | ||
| 8 | |||
| 9 | __PACKAGE__->load_components("InflateColumn::DateTime"); | ||
| 10 | __PACKAGE__->table("result"); | ||
| 11 | |||
| 12 | __PACKAGE__->add_columns( | ||
| 13 | "id", | ||
| 14 | { data_type => "bigint", is_auto_increment => 1, is_nullable => 0 }, | ||
| 15 | "pinterp_id", | ||
| 16 | { data_type => "bigint", is_nullable => 1 }, | ||
| 17 | "result", | ||
| 18 | { data_type => "text", is_nullable => 1 } | ||
| 19 | ); | ||
| 20 | |||
| 21 | __PACKAGE__->set_primary_key("id"); | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | TaskPipe::SchemaTemplate_Project::Result::Result - schema template for the project C<result> table | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | Schema Template for the result table | ||
| 30 | |||
| 31 | =head1 AUTHOR | ||
| 32 | |||
| 33 | Tom Gracey <tomgracey@gmail.com> | ||
| 34 | |||
| 35 | =head1 COPYRIGHT AND LICENSE | ||
| 36 | |||
| 37 | Copyright (c) Tom Gracey 2018 | ||
| 38 | |||
| 39 | TaskPipe is free software, licensed under | ||
| 40 | |||
| 41 | The GNU Public License Version 3 | ||
| 42 | |||
| 43 | =cut | ||
| 44 | |||
| 45 | 1; |