]> git.donarmstrong.com Git - debbugs.git/blob - Debbugs/DB/Result/DbixClassDeploymenthandlerVersion.pm
add first stab at using DBIx::Class::DeploymentHandler to deploy the database
[debbugs.git] / Debbugs / DB / Result / DbixClassDeploymenthandlerVersion.pm
1 use utf8;
2 package Debbugs::DB::Result::DbixClassDeploymenthandlerVersion;
3
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7 =head1 NAME
8
9 Debbugs::DB::Result::DbixClassDeploymenthandlerVersion
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 COMPONENTS LOADED
19
20 =over 4
21
22 =item * L<DBIx::Class::InflateColumn::DateTime>
23
24 =back
25
26 =cut
27
28 __PACKAGE__->load_components("InflateColumn::DateTime");
29
30 =head1 TABLE: C<dbix_class_deploymenthandler_versions>
31
32 =cut
33
34 __PACKAGE__->table("dbix_class_deploymenthandler_versions");
35
36 =head1 ACCESSORS
37
38 =head2 id
39
40   data_type: 'integer'
41   is_auto_increment: 1
42   is_nullable: 0
43   sequence: 'dbix_class_deploymenthandler_versions_id_seq'
44
45 =head2 version
46
47   data_type: 'varchar'
48   is_nullable: 0
49   size: 50
50
51 =head2 ddl
52
53   data_type: 'text'
54   is_nullable: 1
55
56 =head2 upgrade_sql
57
58   data_type: 'text'
59   is_nullable: 1
60
61 =cut
62
63 __PACKAGE__->add_columns(
64   "id",
65   {
66     data_type         => "integer",
67     is_auto_increment => 1,
68     is_nullable       => 0,
69     sequence          => "dbix_class_deploymenthandler_versions_id_seq",
70   },
71   "version",
72   { data_type => "varchar", is_nullable => 0, size => 50 },
73   "ddl",
74   { data_type => "text", is_nullable => 1 },
75   "upgrade_sql",
76   { data_type => "text", is_nullable => 1 },
77 );
78
79 =head1 PRIMARY KEY
80
81 =over 4
82
83 =item * L</id>
84
85 =back
86
87 =cut
88
89 __PACKAGE__->set_primary_key("id");
90
91 =head1 UNIQUE CONSTRAINTS
92
93 =head2 C<dbix_class_deploymenthandler_versions_version>
94
95 =over 4
96
97 =item * L</version>
98
99 =back
100
101 =cut
102
103 __PACKAGE__->add_unique_constraint("dbix_class_deploymenthandler_versions_version", ["version"]);
104
105
106 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-11-06 21:19:42
107 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d62Bah1PHAy1ZMhIt2HeIA
108
109
110 # You can replace this text with custom code or comments, and it will be preserved on regeneration
111 1;