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 114-121
__PACKAGE__->belongs_to(
Link Here
|
114 |
); |
125 |
); |
115 |
|
126 |
|
116 |
|
127 |
|
117 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 |
128 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-30 11:56:41 |
118 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6Y4sBMbKYSbGN7fAy7OhEQ |
129 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IFWZGKZhaJJ8RkB5c3zLPw |
119 |
|
130 |
|
120 |
|
131 |
|
121 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
132 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
122 |
- |
|
|