diff --git a/internal/db/bundb/migrations/20250224105654_token_app_client_refactor.go b/internal/db/bundb/migrations/20250224105654_token_app_client_refactor.go index ae47fbea8..02876bffa 100644 --- a/internal/db/bundb/migrations/20250224105654_token_app_client_refactor.go +++ b/internal/db/bundb/migrations/20250224105654_token_app_client_refactor.go @@ -40,6 +40,7 @@ func init() { Table("statuses"). Index("statuses_created_with_application_id_idx"). Column("created_with_application_id"). + Where("? = ?", bun.Ident("local"), true). IfNotExists(). Exec(ctx); err != nil { return err