| 1 | use utf8; | ||
| 2 | package TaskPipe::SchemaTemplate_Project_Test::Result::Operation; | ||
| 3 | |||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | |||
| 7 | use base 'DBIx::Class::Core'; | ||
| 8 | |||
| 9 | __PACKAGE__->load_components("InflateColumn::DateTime"); | ||
| 10 | __PACKAGE__->table("operations"); | ||
| 11 | __PACKAGE__->add_columns( | ||
| 12 | "id", | ||
| 13 | { data_type => "bigint", is_auto_increment => 1, is_nullable => 0 }, | ||
| 14 | "thread_data", | ||
| 15 | { data_type => "mediumtext", is_nullable => 1 }, | ||
| 16 | "result", | ||
| 17 | { data_type => "mediumtext", is_nullable => 1 }, | ||
| 18 | "thread_id", | ||
| 19 | { data_type => "bigint", is_nullable => 1 }, | ||
| 20 | "target_table", | ||
| 21 | { data_type => "varchar", is_nullable => 1, size => 190 }, | ||
| 22 | ); | ||
| 23 | |||
| 24 | __PACKAGE__->set_primary_key("id"); | ||
| 25 | |||
| 26 | 1; |