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", |
68 |
- |
|
|