mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-07-09 16:09:13 +00:00
fix(credentials): edit-test corruption + browser-profile name reuse (partial unique index) (#7157)
Co-authored-by: AronPerez <aperez0295@gmail.com>
This commit is contained in:
parent
e2edbd9aea
commit
e116aaf35c
4 changed files with 81 additions and 5 deletions
|
|
@ -1243,8 +1243,8 @@ class BrowserProfileModel(Base):
|
|||
"organization_id",
|
||||
"name",
|
||||
unique=True,
|
||||
postgresql_where=text("is_managed = false"),
|
||||
sqlite_where=text("is_managed = false"),
|
||||
postgresql_where=text("is_managed = false AND deleted_at IS NULL"),
|
||||
sqlite_where=text("is_managed = false AND deleted_at IS NULL"),
|
||||
),
|
||||
Index(
|
||||
"uq_browser_profiles_managed_segment",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue