Restore private prompt history with idempotent user-scoped imports
Hop-State: A_06FNBBSMHQ9HVEQCC70EPA8 Hop-Proposal: R_06FNBBRHSSJTCFN79G3KWJ0 Hop-Task: T_06FNB93F0NJANQV08BA6VAG Hop-Attempt: AT_06FNB93F0PSZWAGR81JCWBG
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
CREATE UNIQUE INDEX prompts_repository_user_state_idx
|
||||
ON prompts (repository_id, gitea_user_id, state_id)
|
||||
WHERE gitea_user_id IS NOT NULL AND state_id <> '';
|
||||
Reference in New Issue
Block a user