« blib/lib/RackTables/Schema/Result/ObjectLog.pm
↑ Summary
blib/lib/RackTables/Schema/Result/Port.pm »
| 1 | package RackTables::Schema::Result::ObjectParentCompat; | ||
| 2 | |||
| 3 | # Created by DBIx::Class::Schema::Loader | ||
| 4 | # DO NOT MODIFY THE FIRST PART OF THIS FILE | ||
| 5 | |||
| 6 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 1 | ▶ | use MooseX::NonMoose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | extends 'DBIx::Class::Core'; | |
| 13 | |||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | RackTables::Schema::Result::ObjectParentCompat | ||
| 18 | |||
| 19 | =cut | ||
| 20 | |||
| 21 | 1 | __PACKAGE__->table("ObjectParentCompat"); | |
| 22 | |||
| 23 | =head1 ACCESSORS | ||
| 24 | |||
| 25 | =head2 parent_objtype_id | ||
| 26 | |||
| 27 | data_type: 'integer' | ||
| 28 | extra: {unsigned => 1} | ||
| 29 | is_nullable: 0 | ||
| 30 | |||
| 31 | =head2 child_objtype_id | ||
| 32 | |||
| 33 | data_type: 'integer' | ||
| 34 | extra: {unsigned => 1} | ||
| 35 | is_nullable: 0 | ||
| 36 | |||
| 37 | =cut | ||
| 38 | |||
| 39 | 1 | __PACKAGE__->add_columns( | |
| 40 | "parent_objtype_id", | ||
| 41 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 }, | ||
| 42 | "child_objtype_id", | ||
| 43 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 }, | ||
| 44 | ); | ||
| 45 | 1 | __PACKAGE__->add_unique_constraint("parent_child", ["parent_objtype_id", "child_objtype_id"]); | |
| 46 | |||
| 47 | |||
| 48 | # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-10-26 11:34:02 | ||
| 49 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+kuJmFHtZQvmcAvHDfQDtA | ||
| 50 | |||
| 51 | |||
| 52 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 53 | 1 | __PACKAGE__->meta->make_immutable; | |
| 54 | 1 | 1; | |