2 package Debbugs::DB::Result::DbVersion;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::DbVersion - Version of the Database Schema
16 use base 'DBIx::Class::Core';
18 =head1 COMPONENTS LOADED
22 =item * L<DBIx::Class::InflateColumn::DateTime>
24 =item * L<DBIx::Class::TimeStamp>
30 __PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
32 =head1 TABLE: C<db_version>
36 __PACKAGE__->table("db_version");
46 Version number of the database
50 data_type: 'timestamp with time zone'
51 default_value: current_timestamp
53 original: {default_value => \"now()"}
55 Date the database was upgraded to this version
60 default_value: jsonb_object('{}'::text[])
63 Details about how the database was upgraded to this version
67 __PACKAGE__->add_columns(
69 { data_type => "integer", default_value => 0, is_nullable => 0 },
72 data_type => "timestamp with time zone",
73 default_value => \"current_timestamp",
75 original => { default_value => \"now()" },
80 default_value => \"jsonb_object('{}'::text[])",
85 =head1 UNIQUE CONSTRAINTS
87 =head2 C<db_version_version_key>
97 __PACKAGE__->add_unique_constraint("db_version_version_key", ["version"]);
100 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-01 13:43:06
101 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xf/jizKdQyo+8jAbc0i3cg
104 # You can replace this text with custom code or comments, and it will be preserved on regeneration