Lines 39-44
primary key identifier
Link Here
|
39 |
|
39 |
|
40 |
foreign key references additional_fields(id) |
40 |
foreign key references additional_fields(id) |
41 |
|
41 |
|
|
|
42 |
=head2 record_table |
43 |
|
44 |
data_type: 'varchar' |
45 |
default_value: (empty string) |
46 |
is_nullable: 0 |
47 |
size: 255 |
48 |
|
49 |
tablename of the related record |
50 |
|
42 |
=head2 record_id |
51 |
=head2 record_id |
43 |
|
52 |
|
44 |
data_type: 'integer' |
53 |
data_type: 'integer' |
Lines 62-67
__PACKAGE__->add_columns(
Link Here
|
62 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
71 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
63 |
"field_id", |
72 |
"field_id", |
64 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
73 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
|
|
74 |
"record_table", |
75 |
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, |
65 |
"record_id", |
76 |
"record_id", |
66 |
{ data_type => "integer", is_nullable => 0 }, |
77 |
{ data_type => "integer", is_nullable => 0 }, |
67 |
"value", |
78 |
"value", |
Lines 98-105
__PACKAGE__->belongs_to(
Link Here
|
98 |
); |
109 |
); |
99 |
|
110 |
|
100 |
|
111 |
|
101 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-10-12 13:43:00 |
112 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-30 11:56:41 |
102 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pNawYmJgeb/tIo17nLM/Zw |
113 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IFWZGKZhaJJ8RkB5c3zLPw |
103 |
|
114 |
|
104 |
|
115 |
|
105 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
116 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
106 |
- |
|
|