Skip to content

[Coder] Schema update#386

Merged
ariga-bot merged 1 commit intomasterfrom
f/coder-565890
Apr 15, 2026
Merged

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

Conversation

@ariga-bot
Copy link
Copy Markdown
Collaborator

Add a B-tree index on audit_logs(resource_type, resource_id) to speed up lookups for audit entries related to a specific resource (non-destructive, no data model change).

…to speed up lookups for audit entries related to a specific resource (non-destructive, no data model change).
@github-actions
Copy link
Copy Markdown
Contributor

atlas migrate lint on dirs/coder/migrations

Status Step Result
1 new migration file detected 20260415153140.sql
ERD and visual diff generated View Visualization
Analyze 20260415153140.sql
1 reports were found in analysis
Concurrent index violations detected
Creating the index "idx_audit_logs_resource_type_id" non-concurrently acquires a SHARE lock on table "audit_logs", blocking writes but allowing reads during the operation (PG101)
Read the full linting report on Atlas Cloud

@ariga-bot ariga-bot merged commit cb89c0c into master Apr 15, 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