diff --git a/src/lib/Hydra/Schema/BuildProducts.pm b/src/lib/Hydra/Schema/BuildProducts.pm index 31b0c1e4..54c0ced1 100644 --- a/src/lib/Hydra/Schema/BuildProducts.pm +++ b/src/lib/Hydra/Schema/BuildProducts.pm @@ -81,11 +81,6 @@ __PACKAGE__->table("BuildProducts"); data_type: 'text' is_nullable: 0 -=head2 description - - data_type: 'text' - is_nullable: 1 - =head2 defaultpath data_type: 'text' @@ -112,8 +107,6 @@ __PACKAGE__->add_columns( { data_type => "text", is_nullable => 1 }, "name", { data_type => "text", is_nullable => 0 }, - "description", - { data_type => "text", is_nullable => 1 }, "defaultpath", { data_type => "text", is_nullable => 1 }, ); @@ -150,8 +143,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-06-13 01:54:50 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+0LkZiaRL5tGJvbLxnwD/g +# Created by DBIx::Class::Schema::Loader v0.07043 @ 2016-04-13 14:49:33 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kONECZn56f7sqfrLviiUOQ my %hint = ( columns => [ diff --git a/src/sql/hydra.sql b/src/sql/hydra.sql index d53ba11f..e9b33d41 100644 --- a/src/sql/hydra.sql +++ b/src/sql/hydra.sql @@ -326,7 +326,6 @@ create table BuildProducts ( sha256hash text, path text, name text not null, -- generally just the filename part of `path' - description text, -- optionally, some description of this file/directory defaultPath text, -- if `path' is a directory, the default file relative to `path' to be served primary key (build, productnr), foreign key (build) references Builds(id) on delete cascade diff --git a/src/sql/upgrade-47.sql b/src/sql/upgrade-47.sql new file mode 100644 index 00000000..281c6c83 --- /dev/null +++ b/src/sql/upgrade-47.sql @@ -0,0 +1 @@ +alter table BuildProducts drop column description;