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>
28 __PACKAGE__->load_components("InflateColumn::DateTime");
30 =head1 TABLE: C<correspondent_full_name>
34 __PACKAGE__->table("correspondent_full_name");
43 sequence: 'correspondent_full_name_id_seq'
45 Correspondent full name id
58 Correspondent full name (includes e-mail address)
62 data_type: 'timestamp'
63 default_value: current_timestamp
65 original: {default_value => \"now()"}
69 __PACKAGE__->add_columns(
72 data_type => "integer",
73 is_auto_increment => 1,
75 sequence => "correspondent_full_name_id_seq",
78 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
80 { data_type => "text", is_nullable => 0 },
83 data_type => "timestamp",
84 default_value => \"current_timestamp",
86 original => { default_value => \"now()" },
100 __PACKAGE__->set_primary_key("id");
102 =head1 UNIQUE CONSTRAINTS
104 =head2 C<correspondent_full_name_correspondent_full_name_idx>
108 =item * L</correspondent>
110 =item * L</full_name>
116 __PACKAGE__->add_unique_constraint(
117 "correspondent_full_name_correspondent_full_name_idx",
118 ["correspondent", "full_name"],
127 Related object: L<Debbugs::DB::Result::Correspondent>
131 __PACKAGE__->belongs_to(
133 "Debbugs::DB::Result::Correspondent",
134 { id => "correspondent" },
135 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
139 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-11-21 20:33:17
140 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cvA70xYSRFfzSAXK1z1QzQ
143 # You can replace this text with custom code or comments, and it will be preserved on regeneration