Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: ff5b0d753a
Fetching contributors…

Cannot retrieve contributors at this time

97 lines (63 sloc) 1.597 kB
use utf8;
package Schema::Result::I2i;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
X_Db::Schema::Result::I2i
=cut
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 TABLE: C<i2i>
=cut
__PACKAGE__->table("i2i");
=head1 ACCESSORS
=head2 src_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
=head2 tgt_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
=head2 bus_rule
data_type: 'text'
is_nullable: 1
=cut
__PACKAGE__->add_columns(
"src_id",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"tgt_id",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"bus_rule",
{ data_type => "text", is_nullable => 1 },
);
=head1 RELATIONS
=head2 src
Type: belongs_to
Related object: L<X_Db::Schema::Result::Item>
=cut
__PACKAGE__->belongs_to(
"src",
"X_Db::Schema::Result::Item",
{ it_id => "src_id" },
{ is_deferrable => 1,
cascade_delete => 1,
on_delete => "CASCADE", on_update => "CASCADE" },
);
=head2 tgt
Type: belongs_to
Related object: L<X_Db::Schema::Result::Item>
=cut
__PACKAGE__->belongs_to(
"tgt",
"X_Db::Schema::Result::Item",
{ it_id => "tgt_id" },
{ is_deferrable => 1,
cascade_delete => 1,
on_delete => "CASCADE", on_update => "CASCADE" },
);
# Created by DBIx::Class::Schema::Loader v0.07024 @ 2012-07-07 20:41:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fVV0WGO1ICWBxEL3S//H2w
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;
Jump to Line
Something went wrong with that request. Please try again.