Make transposition data go into pool arrays
[scpubgit/stemmatology.git] / lib / Traditions / Schema / Result / Text.pm
1 package Traditions::Schema::Result::Text;
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
12 =head1 NAME
13
14 Traditions::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
54 Type: has_many
55
56 Related 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
69 Type: has_many
70
71 Related 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
88 1;