Skip to content

Instantly share code, notes, and snippets.

@edipretoro
Created June 6, 2012 12:07
Show Gist options
  • Save edipretoro/2881505 to your computer and use it in GitHub Desktop.
Save edipretoro/2881505 to your computer and use it in GitHub Desktop.
use utf8;
package LawDB::Schema::Result::ArticleIdx;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
LawDB::Schema::Result::ArticleIdx
=cut
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 TABLE: C<Article_idx>
=cut
__PACKAGE__->table("Article_idx");
=head1 ACCESSORS
=head2 numid
data_type: (empty string)
is_nullable: 1
=head2 lawid
data_type: (empty string)
is_nullable: 1
=head2 numord
data_type: (empty string)
is_nullable: 1
=head2 content
data_type: (empty string)
is_nullable: 1
=cut
__PACKAGE__->add_columns(
"numid",
{ data_type => "", is_nullable => 1, is_foreign_key => 1 },
"numord",
{ data_type => "", is_nullable => 1 },
"content",
{ data_type => "", is_nullable => 1 },
);
# Created by DBIx::Class::Schema::Loader v0.07022 @ 2012-05-31 16:32:37
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ls8lV8S8tw7MuyPpKaQJOw
__PACKAGE__->belongs_to(
"numid",
"LawDB::Schema::Result::LawVersion",
{ numid => "numid" },
{ is_deferrable => 1,
on_delete => "CASCADE",
on_update => "CASCADE"
},
);
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment