ensembl-hive  2.7.0
ProcessStatus.pm
Go to the documentation of this file.
1 =head1 LICENSE
2 
3 See the NOTICE file distributed with this work for additional information
4 regarding copyright ownership.
5 
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 
18 =cut
19 
20 package Xref::Schema::Result::ProcessStatus;
21 
22 =head1 NAME
23 
25 
26 =cut
27 
28 use strict;
29 use warnings;
30 use utf8;
31 
32 use base 'DBIx::Class::Core';
33 
34 =head1 TABLE: C<process_status>
35 
36 =cut
37 
38 __PACKAGE__->table("process_status");
39 
40 =head1 ACCESSORS
41 
42 =head2 id
43 
44  data_type: 'integer'
45  extra: {unsigned => 1}
46  is_auto_increment: 1
47  is_nullable: 0
48 
49 =head2 status
50 
51  data_type: 'enum'
52  extra: {list => ["xref_created","parsing_started","parsing_finished","alt_alleles_added","xref_fasta_dumped","core_fasta_dumped","core_data_loaded","mapping_submitted","mapping_finished","mapping_processed","direct_xrefs_parsed","prioritys_flagged","processed_pairs","biomart_test_finished","source_level_move_finished","alt_alleles_processed","official_naming_done","checksum_xrefs_started","checksum_xrefs_finished","coordinate_xrefs_started","coordinate_xref_finished","tests_started","tests_failed","tests_finished","core_loaded","display_xref_done","gene_description_done"]}
53  is_nullable: 1
54 
55 =head2 date
56 
57  data_type: 'datetime'
58  datetime_undef_if_invalid: 1
59  is_nullable: 0
60 
61 =cut
62 
63 __PACKAGE__->add_columns(
64  "id",
65  {
66  data_type => "integer",
67  extra => { unsigned => 1 },
68  is_auto_increment => 1,
69  is_nullable => 0,
70  },
71  "status",
72  {
73  data_type => "enum",
74  extra => {
75  list => [
76  "xref_created",
77  "parsing_started",
78  "parsing_finished",
79  "alt_alleles_added",
80  "xref_fasta_dumped",
81  "core_fasta_dumped",
82  "core_data_loaded",
83  "mapping_submitted",
84  "mapping_finished",
85  "mapping_processed",
86  "direct_xrefs_parsed",
87  "prioritys_flagged",
88  "processed_pairs",
89  "biomart_test_finished",
90  "source_level_move_finished",
91  "alt_alleles_processed",
92  "official_naming_done",
93  "checksum_xrefs_started",
94  "checksum_xrefs_finished",
95  "coordinate_xrefs_started",
96  "coordinate_xref_finished",
97  "tests_started",
98  "tests_failed",
99  "tests_finished",
100  "core_loaded",
101  "display_xref_done",
102  "gene_description_done",
103  ],
104  },
105  is_nullable => 1,
106  },
107  "date",
108  {
109  data_type => "datetime",
110  datetime_undef_if_invalid => 1,
111  is_nullable => 0,
112  },
113 );
114 
115 =head1 PRIMARY KEY
116 
117 =over 4
118 
119 =item * L</id>
120 
121 =back
122 
123 =cut
124 
125 __PACKAGE__->set_primary_key("id");
126 
127 1;
Xref::Schema::Result::ProcessStatus
Definition: ProcessStatus.pm:5