2 package Debbugs::DB::Result::BugSubmitter;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::BugSubmitter - Submitter of a bug (connects to correspondent)
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<bug_submitter>
34 __PACKAGE__->table("bug_submitter");
43 sequence: 'bug_submitter_id_seq'
53 Bug which was submitted by this submitter
61 Bug submitter (connects to correspondent)
65 __PACKAGE__->add_columns(
68 data_type => "integer",
69 is_auto_increment => 1,
71 sequence => "bug_submitter_id_seq",
74 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
76 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
89 __PACKAGE__->set_primary_key("id");
91 =head1 UNIQUE CONSTRAINTS
93 =head2 C<bug_submitter_bug_submitter_idx>
105 __PACKAGE__->add_unique_constraint("bug_submitter_bug_submitter_idx", ["bug", "submitter"]);
113 Related object: L<Debbugs::DB::Result::Bug>
117 __PACKAGE__->belongs_to(
119 "Debbugs::DB::Result::Bug",
121 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
128 Related object: L<Debbugs::DB::Result::Correspondent>
132 __PACKAGE__->belongs_to(
134 "Debbugs::DB::Result::Correspondent",
135 { id => "submitter" },
136 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
140 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
141 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xlPjKuzFWXqJs1TxWZ+YSw
144 # You can replace this text with custom code or comments, and it will be preserved on regeneration