~ubuntu-branches/ubuntu/trusty/libbio-chado-schema-perl/trusty

« back to all changes in this revision

Viewing changes to lib/Bio/Chado/Schema/Result/General/Tableinfo.pm

  • Committer: Package Import Robot
  • Author(s): Olivier Sallou
  • Date: 2011-11-02 15:20:02 UTC
  • Revision ID: package-import@ubuntu.com-20111102152002-5vye1vtqsyr5kkhl
Tags: upstream-0.09040
ImportĀ upstreamĀ versionĀ 0.09040

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package Bio::Chado::Schema::Result::General::Tableinfo;
 
2
BEGIN {
 
3
  $Bio::Chado::Schema::Result::General::Tableinfo::AUTHORITY = 'cpan:RBUELS';
 
4
}
 
5
BEGIN {
 
6
  $Bio::Chado::Schema::Result::General::Tableinfo::VERSION = '0.09040';
 
7
}
 
8
 
 
9
# Created by DBIx::Class::Schema::Loader
 
10
# DO NOT MODIFY THE FIRST PART OF THIS FILE
 
11
 
 
12
use strict;
 
13
use warnings;
 
14
 
 
15
use base 'DBIx::Class::Core';
 
16
 
 
17
 
 
18
=head1 NAME
 
19
 
 
20
Bio::Chado::Schema::Result::General::Tableinfo
 
21
 
 
22
=cut
 
23
 
 
24
__PACKAGE__->table("tableinfo");
 
25
 
 
26
=head1 ACCESSORS
 
27
 
 
28
=head2 tableinfo_id
 
29
 
 
30
  data_type: 'integer'
 
31
  is_auto_increment: 1
 
32
  is_nullable: 0
 
33
  sequence: 'tableinfo_tableinfo_id_seq'
 
34
 
 
35
=head2 name
 
36
 
 
37
  data_type: 'varchar'
 
38
  is_nullable: 0
 
39
  size: 30
 
40
 
 
41
=head2 primary_key_column
 
42
 
 
43
  data_type: 'varchar'
 
44
  is_nullable: 1
 
45
  size: 30
 
46
 
 
47
=head2 is_view
 
48
 
 
49
  data_type: 'integer'
 
50
  default_value: 0
 
51
  is_nullable: 0
 
52
 
 
53
=head2 view_on_table_id
 
54
 
 
55
  data_type: 'integer'
 
56
  is_nullable: 1
 
57
 
 
58
=head2 superclass_table_id
 
59
 
 
60
  data_type: 'integer'
 
61
  is_nullable: 1
 
62
 
 
63
=head2 is_updateable
 
64
 
 
65
  data_type: 'integer'
 
66
  default_value: 1
 
67
  is_nullable: 0
 
68
 
 
69
=head2 modification_date
 
70
 
 
71
  data_type: 'date'
 
72
  default_value: current_timestamp
 
73
  is_nullable: 0
 
74
  original: {default_value => \"now()"}
 
75
 
 
76
=cut
 
77
 
 
78
__PACKAGE__->add_columns(
 
79
  "tableinfo_id",
 
80
  {
 
81
    data_type         => "integer",
 
82
    is_auto_increment => 1,
 
83
    is_nullable       => 0,
 
84
    sequence          => "tableinfo_tableinfo_id_seq",
 
85
  },
 
86
  "name",
 
87
  { data_type => "varchar", is_nullable => 0, size => 30 },
 
88
  "primary_key_column",
 
89
  { data_type => "varchar", is_nullable => 1, size => 30 },
 
90
  "is_view",
 
91
  { data_type => "integer", default_value => 0, is_nullable => 0 },
 
92
  "view_on_table_id",
 
93
  { data_type => "integer", is_nullable => 1 },
 
94
  "superclass_table_id",
 
95
  { data_type => "integer", is_nullable => 1 },
 
96
  "is_updateable",
 
97
  { data_type => "integer", default_value => 1, is_nullable => 0 },
 
98
  "modification_date",
 
99
  {
 
100
    data_type     => "date",
 
101
    default_value => \"current_timestamp",
 
102
    is_nullable   => 0,
 
103
    original      => { default_value => \"now()" },
 
104
  },
 
105
);
 
106
__PACKAGE__->set_primary_key("tableinfo_id");
 
107
__PACKAGE__->add_unique_constraint("tableinfo_c1", ["name"]);
 
108
 
 
109
=head1 RELATIONS
 
110
 
 
111
=head2 controls
 
112
 
 
113
Type: has_many
 
114
 
 
115
Related object: L<Bio::Chado::Schema::Result::Mage::Control>
 
116
 
 
117
=cut
 
118
 
 
119
__PACKAGE__->has_many(
 
120
  "controls",
 
121
  "Bio::Chado::Schema::Result::Mage::Control",
 
122
  { "foreign.tableinfo_id" => "self.tableinfo_id" },
 
123
  { cascade_copy => 0, cascade_delete => 0 },
 
124
);
 
125
 
 
126
=head2 magedocumentations
 
127
 
 
128
Type: has_many
 
129
 
 
130
Related object: L<Bio::Chado::Schema::Result::Mage::Magedocumentation>
 
131
 
 
132
=cut
 
133
 
 
134
__PACKAGE__->has_many(
 
135
  "magedocumentations",
 
136
  "Bio::Chado::Schema::Result::Mage::Magedocumentation",
 
137
  { "foreign.tableinfo_id" => "self.tableinfo_id" },
 
138
  { cascade_copy => 0, cascade_delete => 0 },
 
139
);
 
140
 
 
141
 
 
142
# Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:59
 
143
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j6QlFrHYGpvD1MStkARg1g
 
144
 
 
145
 
 
146
# You can replace this text with custom content, and it will be preserved on regeneration
 
147
1;