1use utf8;
2package Test2::Harness::UI::Schema::Result::JobField;
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("job_fields");
19__PACKAGE__->add_columns(
20  "job_field_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  "name",
25  { data_type => "varchar", is_nullable => 0, size => 512 },
26  "data",
27  { data_type => "json", is_nullable => 1 },
28  "details",
29  { data_type => "text", is_nullable => 1 },
30  "raw",
31  { data_type => "text", is_nullable => 1 },
32  "link",
33  { data_type => "text", is_nullable => 1 },
34);
35__PACKAGE__->set_primary_key("job_field_id");
36__PACKAGE__->add_unique_constraint("job_key", ["job_key", "name"]);
37__PACKAGE__->belongs_to(
38  "job_key",
39  "Test2::Harness::UI::Schema::Result::Job",
40  { job_key => "job_key" },
41  { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
42);
43
44
45# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-10-26 13:48:31
46# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Vkfa2jA4N97WD1R2ZN7QCw
47
48
49# You can replace this text with custom code or comments, and it will be preserved on regeneration
501;
51