2 package Debbugs::DB::Result::BugVer;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::BugVer
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_ver>
34 __PACKAGE__->table("bug_ver");
69 data_type: 'timestamp with time zone'
70 default_value: current_timestamp
72 original: {default_value => \"now()"}
76 data_type: 'timestamp with time zone'
77 default_value: current_timestamp
79 original: {default_value => \"now()"}
83 __PACKAGE__->add_columns(
85 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
87 { data_type => "text", is_nullable => 1 },
89 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
91 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
93 { data_type => "boolean", default_value => \"true", is_nullable => 0 },
96 data_type => "timestamp with time zone",
97 default_value => \"current_timestamp",
99 original => { default_value => \"now()" },
103 data_type => "timestamp with time zone",
104 default_value => \"current_timestamp",
106 original => { default_value => \"now()" },
110 =head1 UNIQUE CONSTRAINTS
112 =head2 C<bug_ver_bug_id_ver_string_found_idx>
118 =item * L</ver_string>
126 __PACKAGE__->add_unique_constraint(
127 "bug_ver_bug_id_ver_string_found_idx",
128 ["bug_id", "ver_string", "found"],
137 Related object: L<Debbugs::DB::Result::Bug>
141 __PACKAGE__->belongs_to(
143 "Debbugs::DB::Result::Bug",
145 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
152 Related object: L<Debbugs::DB::Result::SrcPkg>
156 __PACKAGE__->belongs_to(
158 "Debbugs::DB::Result::SrcPkg",
159 { id => "src_pkg_id" },
163 on_delete => "CASCADE",
164 on_update => "CASCADE",
172 Related object: L<Debbugs::DB::Result::SrcVer>
176 __PACKAGE__->belongs_to(
178 "Debbugs::DB::Result::SrcVer",
179 { id => "src_ver_id" },
183 on_delete => "CASCADE",
184 on_update => "CASCADE",
189 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-11-23 17:41:43
190 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JMDsn7GGxoQ001KYUOyyTw
193 # You can replace this text with custom code or comments, and it will be preserved on regeneration