=head1 ACCESSORS
+=head2 id
+
+ data_type: 'integer'
+ is_auto_increment: 1
+ is_nullable: 0
+ sequence: 'bug_message_id_seq'
+
=head2 bug
data_type: 'integer'
=cut
__PACKAGE__->add_columns(
+ "id",
+ {
+ data_type => "integer",
+ is_auto_increment => 1,
+ is_nullable => 0,
+ sequence => "bug_message_id_seq",
+ },
"bug",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"message",
{ data_type => "timestamp with time zone", is_nullable => 1 },
);
+=head1 PRIMARY KEY
+
+=over 4
+
+=item * L</id>
+
+=back
+
+=cut
+
+__PACKAGE__->set_primary_key("id");
+
+=head1 UNIQUE CONSTRAINTS
+
+=head2 C<bug_message_bug_message_idx>
+
+=over 4
+
+=item * L</bug>
+
+=item * L</message>
+
+=back
+
+=cut
+
+__PACKAGE__->add_unique_constraint("bug_message_bug_message_idx", ["bug", "message"]);
+
=head1 RELATIONS
=head2 bug
"bug",
"Debbugs::DB::Result::Bug",
{ id => "bug" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
);
=head2 message
"message",
"Debbugs::DB::Result::Message",
{ id => "message" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-01-22 21:35:43
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WkrYUE1iE8o3fFkzQSkzeQ
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-11-24 20:30:07
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j9PbT+q4tBJhimXl7TQgLg
# You can replace this text with custom code or comments, and it will be preserved on regeneration