Skip to content

Update jobs table#95

Merged
hladush merged 1 commit intomainfrom
ihladush/update_names_in_jobs_table
Feb 26, 2026
Merged

Update jobs table#95
hladush merged 1 commit intomainfrom
ihladush/update_names_in_jobs_table

Conversation

@hladush
Copy link
Contributor

@hladush hladush commented Feb 26, 2026

In some cases name could me more than 64, due to the fact that postgress doesn't consume the all space which is available it's fine to increase it.

Tested on local machine
image

Copilot AI review requested due to automatic review settings February 26, 2026 20:34
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 PR updates the Heimdall jobs table schema to support longer job names (and expands job_context) while keeping the DDL idempotent via conditional DO $$ migration blocks.

Changes:

  • Increase jobs.job_name from varchar(64) to varchar(300).
  • Increase jobs.job_context from varchar(65535) to varchar(131070).
  • Add a conditional migration block to widen job_name on existing deployments.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hladush hladush changed the title wUpdate jobs Update jobs Feb 26, 2026
@hladush hladush changed the title Update jobs Update jobs table Feb 26, 2026
@hladush hladush merged commit a1ce685 into main Feb 26, 2026
11 checks passed
@hladush hladush deleted the ihladush/update_names_in_jobs_table branch February 26, 2026 20:43
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