tests passing with new library, yay
[scpubgit/stemmatology.git] / lib / Text / Tradition / Schema / Result / Text.pm
CommitLineData
b49c4318 1package Traditions::Schema::Result::Text;
2
3# Created by DBIx::Class::Schema::Loader
4# DO NOT MODIFY THE FIRST PART OF THIS FILE
5
6use strict;
7use warnings;
8
9use base 'DBIx::Class::Core';
10
11
12=head1 NAME
13
14Traditions::Schema::Result::Text
15
16=cut
17
18__PACKAGE__->table("texts");
19
20=head1 ACCESSORS
21
22=head2 textid
23
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27
28=head2 provenance
29
30 data_type: 'text'
31 is_nullable: 0
32
33=head2 description
34
35 data_type: 'text'
36 is_nullable: 1
37
38=cut
39
40__PACKAGE__->add_columns(
41 "textid",
42 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
43 "provenance",
44 { data_type => "text", is_nullable => 0 },
45 "description",
46 { data_type => "text", is_nullable => 1 },
47);
48__PACKAGE__->set_primary_key("textid");
49
50=head1 RELATIONS
51
52=head2 manuscripts
53
54Type: has_many
55
56Related object: L<Traditions::Schema::Result::Manuscript>
57
58=cut
59
60__PACKAGE__->has_many(
61 "manuscripts",
62 "Traditions::Schema::Result::Manuscript",
63 { "foreign.text" => "self.textid" },
64 { cascade_copy => 0, cascade_delete => 0 },
65);
66
67=head2 collations
68
69Type: has_many
70
71Related object: L<Traditions::Schema::Result::Collation>
72
73=cut
74
75__PACKAGE__->has_many(
76 "collations",
77 "Traditions::Schema::Result::Collation",
78 { "foreign.text" => "self.textid" },
79 { cascade_copy => 0, cascade_delete => 0 },
80);
81
82
83# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-10-19 17:34:43
84# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nRxu7u/rg6k397lkxT3IWQ
85
86
87# You can replace this text with custom content, and it will be preserved on regeneration
881;