1use utf8; 2package Test2::Harness::UI::Schema::Result::Event; 3 4# Created by DBIx::Class::Schema::Loader 5# DO NOT MODIFY THE FIRST PART OF THIS FILE 6 7use strict; 8use warnings; 9 10use base 'DBIx::Class::Core'; 11__PACKAGE__->load_components( 12 "InflateColumn::DateTime", 13 "InflateColumn::Serializer", 14 "InflateColumn::Serializer::JSON", 15 "Tree::AdjacencyList", 16 "UUIDColumns", 17); 18__PACKAGE__->table("events"); 19__PACKAGE__->add_columns( 20 "event_id", 21 { data_type => "char", is_nullable => 0, size => 36 }, 22 "job_key", 23 { data_type => "char", is_foreign_key => 1, is_nullable => 0, size => 36 }, 24 "event_ord", 25 { data_type => "bigint", is_nullable => 0 }, 26 "insert_ord", 27 { data_type => "bigint", is_auto_increment => 1, is_nullable => 0 }, 28 "is_subtest", 29 { data_type => "tinyint", default_value => 0, is_nullable => 0 }, 30 "is_diag", 31 { data_type => "tinyint", default_value => 0, is_nullable => 0 }, 32 "is_harness", 33 { data_type => "tinyint", default_value => 0, is_nullable => 0 }, 34 "is_time", 35 { data_type => "tinyint", default_value => 0, is_nullable => 0 }, 36 "stamp", 37 { 38 data_type => "timestamp", 39 datetime_undef_if_invalid => 1, 40 is_nullable => 1, 41 }, 42 "parent_id", 43 { data_type => "char", is_nullable => 1, size => 36 }, 44 "trace_id", 45 { data_type => "char", is_nullable => 1, size => 36 }, 46 "nested", 47 { data_type => "integer", default_value => 0, is_nullable => 1 }, 48 "facets", 49 { data_type => "json", is_nullable => 1 }, 50 "facets_line", 51 { data_type => "bigint", is_nullable => 1 }, 52 "orphan", 53 { data_type => "json", is_nullable => 1 }, 54 "orphan_line", 55 { data_type => "bigint", is_nullable => 1 }, 56); 57__PACKAGE__->set_primary_key("event_id"); 58__PACKAGE__->add_unique_constraint("insert_ord", ["insert_ord", "job_key"]); 59__PACKAGE__->belongs_to( 60 "job_key", 61 "Test2::Harness::UI::Schema::Result::Job", 62 { job_key => "job_key" }, 63 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" }, 64); 65 66 67# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-10-26 13:48:31 68# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lek5Denn2Vbt1dcaMUY+7w 69 70 71# You can replace this text with custom code or comments, and it will be preserved on regeneration 721; 73