Skip to content

Extending the length of tags columns to 128 to account for sometimes longer than expected names :)#14

Merged
babourine merged 1 commit intomainfrom
stan_tags_length
Jun 19, 2025
Merged

Extending the length of tags columns to 128 to account for sometimes longer than expected names :)#14
babourine merged 1 commit intomainfrom
stan_tags_length

Conversation

@babourine
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 19, 2025 20:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request extends the length of various tag columns from 64 to 128 characters in several Heimdall database tables to accommodate longer tag names.

  • Updated table definitions to extend varchar columns from 64 to 128 in job_tags, job_command_tags, job_cluster_tags, command_tags, command_cluster_tags, and cluster_tags.
  • Added ALTER TABLE statements to modify existing columns.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
assets/databases/heimdall/tables/job_tags.sql Extended job_tag column length and updated its type.
assets/databases/heimdall/tables/job_command_tags.sql Extended command_tag column length and updated its type.
assets/databases/heimdall/tables/job_cluster_tags.sql Extended cluster_tag column length and updated its type.
assets/databases/heimdall/tables/command_tags.sql Extended command_tag column length; note inconsistency in unique constraint name.
assets/databases/heimdall/tables/command_cluster_tags.sql Extended command_cluster_tag column length and updated its type.
assets/databases/heimdall/tables/cluster_tags.sql Extended cluster_tag column length and updated its type.
Comments suppressed due to low confidence (1)

assets/databases/heimdall/tables/command_tags.sql:6

  • The unique constraint name appears inconsistent with the table name and the naming used in similar tables. Consider renaming it to _command_tags_command_tag for consistency.
    constraint _commands_tags_command_tag unique (command_tag, system_command_id)

@babourine babourine merged commit acdf1ae into main Jun 19, 2025
5 checks passed
@babourine babourine deleted the stan_tags_length branch June 19, 2025 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants