2 package Debbugs::DB::Result::CorrespondentFullName;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::CorrespondentFullName - Full names of BTS correspondents
16 use base 'DBIx::Class::Core';
18 =head1 COMPONENTS LOADED
22 =item * L<DBIx::Class::InflateColumn::DateTime>
24 =item * L<DBIx::Class::TimeStamp>
30 __PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
32 =head1 TABLE: C<correspondent_full_name>
36 __PACKAGE__->table("correspondent_full_name");
46 Correspondent ID (matches correspondent)
53 Correspondent full name (includes e-mail address)
57 data_type: 'timestamp'
58 default_value: current_timestamp
60 original: {default_value => \"now()"}
64 __PACKAGE__->add_columns(
66 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
68 { data_type => "text", is_nullable => 0 },
71 data_type => "timestamp",
72 default_value => \"current_timestamp",
74 original => { default_value => \"now()" },
78 =head1 UNIQUE CONSTRAINTS
80 =head2 C<correspondent_full_name_correspondent_full_name_idx>
84 =item * L</correspondent>
92 __PACKAGE__->add_unique_constraint(
93 "correspondent_full_name_correspondent_full_name_idx",
94 ["correspondent", "full_name"],
103 Related object: L<Debbugs::DB::Result::Correspondent>
107 __PACKAGE__->belongs_to(
109 "Debbugs::DB::Result::Correspondent",
110 { id => "correspondent" },
111 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
115 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2017-03-04 10:59:03
116 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2Ac8mrDV2IsE/11YsYoqQQ
119 # You can replace this text with custom code or comments, and it will be preserved on regeneration