Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion assets/databases/heimdall/tables/cluster_tags.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
create table if not exists cluster_tags
(
system_cluster_id int not null,
cluster_tag varchar(64) not null,
cluster_tag varchar(128) not null,
constraint _cluster_tags_pk primary key (system_cluster_id, cluster_tag),
constraint _cluster_tags_cluster_tag unique (cluster_tag, system_cluster_id)
);

alter table cluster_tags alter column cluster_tag type varchar(128);
4 changes: 3 additions & 1 deletion assets/databases/heimdall/tables/command_cluster_tags.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
create table if not exists command_cluster_tags
(
system_command_id int not null,
command_cluster_tag varchar(64) not null,
command_cluster_tag varchar(128) not null,
constraint _command_cluster_tags_pk primary key (system_command_id, command_cluster_tag)
);

alter table command_cluster_tags alter column command_cluster_tag type varchar(128);
4 changes: 3 additions & 1 deletion assets/databases/heimdall/tables/command_tags.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
create table if not exists command_tags
(
system_command_id int not null,
command_tag varchar(64) not null,
command_tag varchar(128) not null,
constraint _command_tags_pk primary key (system_command_id, command_tag),
constraint _commands_tags_command_tag unique (command_tag, system_command_id)
);

alter table command_tags alter column command_tag type varchar(128);
4 changes: 3 additions & 1 deletion assets/databases/heimdall/tables/job_cluster_tags.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
create table if not exists job_cluster_tags
(
system_job_id bigint not null,
cluster_tag varchar(64) not null,
cluster_tag varchar(128) not null,
constraint _job_cluster_tags_pk primary key (system_job_id, cluster_tag),
constraint _job_cluster_tags_cluster_tag unique (cluster_tag, system_job_id)
);

alter table job_cluster_tags alter column cluster_tag type varchar(128);
4 changes: 3 additions & 1 deletion assets/databases/heimdall/tables/job_command_tags.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
create table if not exists job_command_tags
(
system_job_id bigint not null,
command_tag varchar(64) not null,
command_tag varchar(128) not null,
constraint _job_command_tags_pk primary key (system_job_id, command_tag),
constraint _job_command_tags_command_tag unique (command_tag, system_job_id)
);

alter table job_command_tags alter column command_tag type varchar(128);
4 changes: 3 additions & 1 deletion assets/databases/heimdall/tables/job_tags.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
create table if not exists job_tags
(
system_job_id bigint not null,
job_tag varchar(64) not null,
job_tag varchar(128) not null,
constraint _job_tags_pk primary key (system_job_id, job_tag),
constraint _job_tags_job_tag unique (job_tag, system_job_id)
);

alter table job_tags alter column job_tag type varchar(128);