Drop unused BuildProducts.description column

This commit is contained in:
Eelco Dolstra 2016-04-13 14:49:57 +02:00
parent 8c7edb1005
commit a7755678fe
3 changed files with 3 additions and 10 deletions

View file

@ -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 => [

View file

@ -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

1
src/sql/upgrade-47.sql Normal file
View file

@ -0,0 +1 @@
alter table BuildProducts drop column description;