forked from lix-project/hydra
Drop unused "tag" column
It was intended for CVS inputs but never used.
This commit is contained in:
parent
ccc5d38976
commit
794602d7ce
4 changed files with 8 additions and 22 deletions
|
@ -55,11 +55,6 @@ __PACKAGE__->table("BuildInputs");
|
||||||
data_type: 'text'
|
data_type: 'text'
|
||||||
is_nullable: 1
|
is_nullable: 1
|
||||||
|
|
||||||
=head2 tag
|
|
||||||
|
|
||||||
data_type: 'text'
|
|
||||||
is_nullable: 1
|
|
||||||
|
|
||||||
=head2 value
|
=head2 value
|
||||||
|
|
||||||
data_type: 'text'
|
data_type: 'text'
|
||||||
|
@ -96,8 +91,6 @@ __PACKAGE__->add_columns(
|
||||||
{ data_type => "text", is_nullable => 1 },
|
{ data_type => "text", is_nullable => 1 },
|
||||||
"revision",
|
"revision",
|
||||||
{ data_type => "text", is_nullable => 1 },
|
{ data_type => "text", is_nullable => 1 },
|
||||||
"tag",
|
|
||||||
{ data_type => "text", is_nullable => 1 },
|
|
||||||
"value",
|
"value",
|
||||||
{ data_type => "text", is_nullable => 1 },
|
{ data_type => "text", is_nullable => 1 },
|
||||||
"dependency",
|
"dependency",
|
||||||
|
@ -153,7 +146,7 @@ __PACKAGE__->belongs_to(
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
# Created by DBIx::Class::Schema::Loader v0.07014 @ 2011-12-05 14:15:43
|
# Created by DBIx::Class::Schema::Loader v0.07014 @ 2012-04-15 12:38:16
|
||||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yaqa9gcGx9Z+Nfr3xgX28g
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sav9OmLm3qA/jiK5k+KIjw
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
@ -56,11 +56,6 @@ __PACKAGE__->table("JobsetInputAlts");
|
||||||
data_type: 'text'
|
data_type: 'text'
|
||||||
is_nullable: 1
|
is_nullable: 1
|
||||||
|
|
||||||
=head2 tag
|
|
||||||
|
|
||||||
data_type: 'text'
|
|
||||||
is_nullable: 1
|
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
__PACKAGE__->add_columns(
|
__PACKAGE__->add_columns(
|
||||||
|
@ -76,8 +71,6 @@ __PACKAGE__->add_columns(
|
||||||
{ data_type => "text", is_nullable => 1 },
|
{ data_type => "text", is_nullable => 1 },
|
||||||
"revision",
|
"revision",
|
||||||
{ data_type => "text", is_nullable => 1 },
|
{ data_type => "text", is_nullable => 1 },
|
||||||
"tag",
|
|
||||||
{ data_type => "text", is_nullable => 1 },
|
|
||||||
);
|
);
|
||||||
|
|
||||||
=head1 PRIMARY KEY
|
=head1 PRIMARY KEY
|
||||||
|
@ -116,7 +109,7 @@ __PACKAGE__->belongs_to(
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
# Created by DBIx::Class::Schema::Loader v0.07014 @ 2011-12-05 14:15:43
|
# Created by DBIx::Class::Schema::Loader v0.07014 @ 2012-04-15 12:38:16
|
||||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jtiF1/FMZBz6iUKqIhSeVw
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M1pOjrCZ2RgULsIPZjN7sg
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
@ -72,7 +72,7 @@ create table JobsetInputs (
|
||||||
project text not null,
|
project text not null,
|
||||||
jobset text not null,
|
jobset text not null,
|
||||||
name text not null,
|
name text not null,
|
||||||
type text not null, -- "svn", "cvs", "path", "uri", "string", "boolean"
|
type text not null, -- "svn", "path", "uri", "string", "boolean"
|
||||||
primary key (project, jobset, name),
|
primary key (project, jobset, name),
|
||||||
foreign key (project, jobset) references Jobsets(project, name) on delete cascade on update cascade
|
foreign key (project, jobset) references Jobsets(project, name) on delete cascade on update cascade
|
||||||
);
|
);
|
||||||
|
@ -86,8 +86,7 @@ create table JobsetInputAlts (
|
||||||
|
|
||||||
-- urgh
|
-- urgh
|
||||||
value text, -- for most types, a URI; for 'path', an absolute path; for 'string', an arbitrary value
|
value text, -- for most types, a URI; for 'path', an absolute path; for 'string', an arbitrary value
|
||||||
revision text, -- for type == 'svn'
|
revision text, -- for repositories
|
||||||
tag text, -- for type == 'cvs'
|
|
||||||
|
|
||||||
primary key (project, jobset, input, altnr),
|
primary key (project, jobset, input, altnr),
|
||||||
foreign key (project, jobset, input) references JobsetInputs(project, jobset, name) on delete cascade on update cascade
|
foreign key (project, jobset, input) references JobsetInputs(project, jobset, name) on delete cascade on update cascade
|
||||||
|
@ -237,7 +236,6 @@ create table BuildInputs (
|
||||||
type text not null,
|
type text not null,
|
||||||
uri text,
|
uri text,
|
||||||
revision text,
|
revision text,
|
||||||
tag text,
|
|
||||||
value text,
|
value text,
|
||||||
dependency integer, -- build ID of the input, for type == 'build'
|
dependency integer, -- build ID of the input, for type == 'build'
|
||||||
|
|
||||||
|
|
2
src/sql/upgrade-5.sql
Normal file
2
src/sql/upgrade-5.sql
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
alter table BuildInputs drop column tag;
|
||||||
|
alter table JobsetInputAlts drop column tag;
|
Loading…
Reference in a new issue