Skip to content

[Coder] Schema update#389

Merged
ariga-bot merged 1 commit intomasterfrom
f/coder-913713
Apr 17, 2026
Merged

[Coder] Schema update#389
ariga-bot merged 1 commit intomasterfrom
f/coder-913713

Conversation

@ariga-bot
Copy link
Copy Markdown
Collaborator

Add a data-dependent CHECK constraint to requiring to be either NULL or a non-empty, whitespace-trimmed string (will fail if any existing non-NULL avatar_url values are empty or have surrounding whitespace).

…er NULL or a non-empty, whitespace-trimmed string (will fail if any existing non-NULL avatar_url values are empty or have surrounding whitespace).
@github-actions
Copy link
Copy Markdown
Contributor

atlas migrate lint on dirs/coder/migrations

Status Step Result
1 new migration file detected 20260417152702.sql
ERD and visual diff generated View Visualization
Analyze 20260417152702.sql
1 reports were found in analysis
Blocking table changes detected
Adding a CHECK constraint "users_avatar_url_null_or_trimmed_non_empty" on table "users" without the NOT VALID clause requires a full table scan (PG305)
Read the full linting report on Atlas Cloud

@ariga-bot ariga-bot merged commit 448f94a into master Apr 17, 2026
1 check passed
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.

1 participant