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");
45 sequence: 'correspondent_full_name_id_seq'
47 Correspondent full name id
60 Correspondent full name (includes e-mail address)
64 data_type: 'timestamp'
65 default_value: current_timestamp
67 original: {default_value => \"now()"}
71 __PACKAGE__->add_columns(
74 data_type => "integer",
75 is_auto_increment => 1,
77 sequence => "correspondent_full_name_id_seq",
80 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
82 { data_type => "text", is_nullable => 0 },
85 data_type => "timestamp",
86 default_value => \"current_timestamp",
88 original => { default_value => \"now()" },
102 __PACKAGE__->set_primary_key("id");
104 =head1 UNIQUE CONSTRAINTS
106 =head2 C<correspondent_full_name_correspondent_full_name_idx>
110 =item * L</correspondent>
112 =item * L</full_name>
118 __PACKAGE__->add_unique_constraint(
119 "correspondent_full_name_correspondent_full_name_idx",
120 ["correspondent", "full_name"],
129 Related object: L<Debbugs::DB::Result::Correspondent>
133 __PACKAGE__->belongs_to(
135 "Debbugs::DB::Result::Correspondent",
136 { id => "correspondent" },
137 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
141 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51
142 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rXiBbe/rMz4dOMgW5ZovWw
145 # You can replace this text with custom code or comments, and it will be preserved on regeneration