Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 1 commit
  • 1 file changed
  • 0 comments
  • 1 contributor
68  Literature/lib/Literature/Schema/Result/CharacterAppearance.pm
... ...
@@ -1,68 +0,0 @@
1  
-package Literature::Schema::Result::CharacterAppearance;
2  
-
3  
-# Created by DBIx::Class::Schema::Loader
4  
-# DO NOT MODIFY THE FIRST PART OF THIS FILE
5  
-
6  
-use strict;
7  
-use warnings;
8  
-
9  
-use base 'DBIx::Class::Core';
10  
-
11  
-__PACKAGE__->load_components("InflateColumn::DateTime");
12  
-
13  
-=head1 NAME
14  
-
15  
-Literature::Schema::Result::CharacterAppearance
16  
-
17  
-=cut
18  
-
19  
-__PACKAGE__->table("character_appearance");
20  
-
21  
-=head1 ACCESSORS
22  
-
23  
-=head2 character
24  
-
25  
-  data_type: 'integer'
26  
-  is_foreign_key: 1
27  
-  is_nullable: 0
28  
-
29  
-=head2 work
30  
-
31  
-  data_type: 'integer'
32  
-  is_foreign_key: 1
33  
-  is_nullable: 0
34  
-
35  
-=cut
36  
-
37  
-__PACKAGE__->add_columns(
38  
-  "character",
39  
-  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
40  
-  "work",
41  
-  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
42  
-);
43  
-__PACKAGE__->set_primary_key("character", "work");
44  
-
45  
-=head1 RELATIONS
46  
-
47  
-=head2 work
48  
-
49  
-Type: belongs_to
50  
-
51  
-Related object: L<Literature::Schema::Result::Work>
52  
-
53  
-=cut
54  
-
55  
-__PACKAGE__->belongs_to(
56  
-  "work",
57  
-  "Literature::Schema::Result::Work",
58  
-  { id => "work" },
59  
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
60  
-);
61  
-
62  
-
63  
-# Created by DBIx::Class::Schema::Loader v0.07010 @ 2012-01-16 19:08:29
64  
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:24LSfWIk2Kmfr2h4fuEiJA
65  
-
66  
-
67  
-# You can replace this text with custom content, and it will be preserved on regeneration
68  
-1;

No commit comments for this range

Something went wrong with that request. Please try again.