Created
December 31, 2021 00:55
-
-
Save gmwill934/02feaed367c49283dae4c82750d15404 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update public."User" | |
set "isVerified" = true | |
where "id" = ( | |
select | |
u."id" | |
from | |
public."User" as u | |
join public."Tenant" as t on t."id"=u."tenantId" | |
join public."TenantMeta" as tm on t."id"=tm."tenantId" and tm."token" = '') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment