2 package Debbugs::DB::Result::SrcPkgAlias;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::SrcPkgAlias
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<src_pkg_alias>
34 __PACKAGE__->table("src_pkg_alias");
43 sequence: 'src_pkg_alias_id_seq'
58 __PACKAGE__->add_columns(
61 data_type => "integer",
62 is_auto_increment => 1,
64 sequence => "src_pkg_alias_id_seq",
67 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
69 { data_type => "text", is_nullable => 0 },
82 __PACKAGE__->set_primary_key("id");
84 =head1 UNIQUE CONSTRAINTS
86 =head2 C<pkg_alias_src_pkg_id_idx>
92 =item * L</src_pkg_id>
98 __PACKAGE__->add_unique_constraint("pkg_alias_src_pkg_id_idx", ["pkg_alias", "src_pkg_id"]);
106 Related object: L<Debbugs::DB::Result::SrcPkg>
110 __PACKAGE__->belongs_to(
112 "Debbugs::DB::Result::SrcPkg",
113 { id => "src_pkg_id" },
114 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
118 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-07-17 10:25:29
119 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:y5PGSPakrgG4u/oXIau2pw
122 # You can replace this text with custom code or comments, and it will be preserved on regeneration