=item * L<DBIx::Class::InflateColumn::DateTime>
+=item * L<DBIx::Class::TimeStamp>
+
=back
=cut
-__PACKAGE__->load_components("InflateColumn::DateTime");
+__PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
=head1 TABLE: C<message_correspondent>
data_type: 'enum'
default_value: 'to'
- extra: {custom_type_name => "message_correspondent_type",list => ["to","from","envfrom","cc"]}
+ extra: {custom_type_name => "message_correspondent_type",list => ["to","from","envfrom","cc","recv"]}
is_nullable: 0
Type of correspondent (to, from, envfrom, cc, etc.)
default_value => "to",
extra => {
custom_type_name => "message_correspondent_type",
- list => ["to", "from", "envfrom", "cc"],
+ list => ["to", "from", "envfrom", "cc", "recv"],
},
is_nullable => 0,
},
"correspondent",
"Debbugs::DB::Result::Correspondent",
{ id => "correspondent" },
- { 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:wo2PGK4VpJ1hB8YBJ9QNUg
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2017-03-07 19:03:32
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kIhya7skj4ZNM3DkC+gAPw
+
+sub sqlt_deploy_hook {
+ my ($self, $sqlt_table) = @_;
+ for my $idx (qw(correspondent message)) {
+ $sqlt_table->add_index(name => 'message_correspondent_idx'.$idx,
+ fields => [$idx]);
+ }
+}
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;