Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Incluir migração pra corrigir unicidade #65

Open
ralphg6 opened this issue Nov 10, 2022 · 0 comments
Open

Incluir migração pra corrigir unicidade #65

ralphg6 opened this issue Nov 10, 2022 · 0 comments
Assignees

Comments

@ralphg6
Copy link
Member

ralphg6 commented Nov 10, 2022

UPDATE rulesheets AS r SET name = concat(r.name, concat("-deleted-", r.id)) WHERE r.deleted_at IS NOT NULL and name not like "%-deleted-%";
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants